fix: neo ULT build with optimizations disabled 1/n

Related-To: NEO-8116

Signed-off-by: Oskar Hubert Weber <oskar.hubert.weber@intel.com>
This commit is contained in:
Oskar Hubert Weber
2024-10-28 12:14:46 +00:00
committed by Compute-Runtime-Automation
parent 94d28f3306
commit fd45b2883d
8 changed files with 37 additions and 32 deletions

View File

@@ -30,6 +30,8 @@
namespace NEO {
LinkerInput::~LinkerInput() = default;
SegmentType LinkerInput::getSegmentForSection(ConstStringRef name) {
if (name == NEO::Zebin::Elf::SectionNames::dataConst || name == NEO::Zebin::Elf::SectionNames::dataGlobalConst) {
return NEO::SegmentType::globalConstants;

View File

@@ -109,7 +109,7 @@ struct LinkerInput {
using SymbolMap = std::unordered_map<std::string, SymbolInfo>;
using RelocationsPerInstSegment = std::vector<Relocations>;
virtual ~LinkerInput() = default;
virtual ~LinkerInput();
static SegmentType getSegmentForSection(ConstStringRef name);