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;