refactor: store special relocation names as string_view

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
Mateusz Jablonski
2025-09-18 15:05:04 +00:00
committed by Compute-Runtime-Automation
parent 6f2e8b7544
commit 49293fcac6
5 changed files with 25 additions and 25 deletions

View File

@@ -193,8 +193,8 @@ struct LinkerInput : NEO::NonCopyableAndNonMovableClass {
};
struct Linker {
inline static const std::string subDeviceID = "__SubDeviceID";
inline static const std::string perThreadOff = "__INTEL_PER_THREAD_OFF";
inline static constexpr std::string_view subDeviceID = "__SubDeviceID";
inline static constexpr std::string_view perThreadOff = "__INTEL_PER_THREAD_OFF";
using RelocationInfo = LinkerInput::RelocationInfo;