Skip to content

Commit 94c5f3a

Browse files
pratikasharsys_zuul
authored andcommitted
Internal fix
Change-Id: Ic0cedefdb1c6b8216297d54ef6f99c82c7ac5f78
1 parent a69efe8 commit 94c5f3a

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

IGC/Compiler/CISACodeGen/ShaderCodeGen.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1110,6 +1110,7 @@ void CodeGen(OpenCLProgramContext* ctx, CShaderProgram::KernelShaderMap& kernels
11101110
AddCodeGenPasses(*ctx, kernels, Passes, SIMDMode::SIMD8, false);
11111111
}
11121112
}
1113+
11131114
Passes.add(new DebugInfoPass(kernels));
11141115
COMPILER_TIME_END(ctx, TIME_CG_Add_Passes);
11151116

IGC/Compiler/DebugInfo/DwarfCompileUnit.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2075,8 +2075,8 @@ void CompileUnit::buildGeneral(DbgVariable& var, DIE* die, VISAVariableLocation*
20752075
auto sizeInBits = (m_pModule->m_pShader->getGRFSize() * 8) - offsetInBits;
20762076

20772077
addUInt(Block, dwarf::DW_FORM_data1, dwarf::DW_OP_bit_piece);
2078-
addUInt(Block, dwarf::DW_FORM_data1, sizeInBits);
2079-
addUInt(Block, dwarf::DW_FORM_data1, offsetInBits);
2078+
addUInt(Block, dwarf::DW_FORM_udata, sizeInBits);
2079+
addUInt(Block, dwarf::DW_FORM_udata, offsetInBits);
20802080
}
20812081
}
20822082
else

0 commit comments

Comments
 (0)