Skip to content

Commit 9743e37

Browse files
Debugger L0 Win: fix broken ULT
givenNonZebinaryFormatWhenGettingDebugInfoThenDebugZebinIsNotCreated Signed-off-by: Igor Venevtsev <[email protected]>
1 parent 64babcf commit 9743e37

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

level_zero/core/test/unit_tests/sources/module/test_module.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3119,6 +3119,7 @@ TEST_F(ModuleWithZebinTest, givenNonZebinaryFormatWhenGettingDebugInfoThenDebugZ
31193119
size_t mockProgramSize = sizeof(Elf::ElfFileHeader<Elf::EI_CLASS_64>);
31203120
module->translationUnit->unpackedDeviceBinary = std::make_unique<char[]>(mockProgramSize);
31213121
module->translationUnit->unpackedDeviceBinarySize = mockProgramSize;
3122+
module->isZebinBinary = false;
31223123
size_t debugDataSize;
31233124
ze_result_t retCode = module->getDebugInfo(&debugDataSize, nullptr);
31243125
EXPECT_EQ(debugDataSize, 0u);

0 commit comments

Comments
 (0)