mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-11 00:10:58 +08:00
Debugger L0 Win: fix broken ULT
givenNonZebinaryFormatWhenGettingDebugInfoThenDebugZebinIsNotCreated Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
64babcf22c
commit
9743e37fde
@@ -3119,6 +3119,7 @@ TEST_F(ModuleWithZebinTest, givenNonZebinaryFormatWhenGettingDebugInfoThenDebugZ
|
||||
size_t mockProgramSize = sizeof(Elf::ElfFileHeader<Elf::EI_CLASS_64>);
|
||||
module->translationUnit->unpackedDeviceBinary = std::make_unique<char[]>(mockProgramSize);
|
||||
module->translationUnit->unpackedDeviceBinarySize = mockProgramSize;
|
||||
module->isZebinBinary = false;
|
||||
size_t debugDataSize;
|
||||
ze_result_t retCode = module->getDebugInfo(&debugDataSize, nullptr);
|
||||
EXPECT_EQ(debugDataSize, 0u);
|
||||
|
||||
Reference in New Issue
Block a user