We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 65224e0 commit 04921efCopy full SHA for 04921ef
IGC/DebugInfo/DwarfDebug.cpp
@@ -3436,6 +3436,16 @@ void DwarfDebug::writeFDEStackCall(VISAModule* m)
3436
numGRFs, EmitSettings.UseNewRegisterEncoding));
3437
}
3438
3439
+ else
3440
+ {
3441
+ if (m->GetType() == VISAModule::ObjectType::KERNEL)
3442
3443
+ // set return location to be undefined in top frame
3444
+ write(cfaOps[0], (uint8_t)llvm::dwarf::DW_CFA_undefined);
3445
+ writeULEB128(cfaOps[0], GetEncodedRegNum<RegisterNumbering::GRFBase>(numGRFs,
3446
+ EmitSettings.UseNewRegisterEncoding));
3447
+ }
3448
3449
3450
// write callee save
3451
if (cfi.calleeSaveEntry.size() > 0)
0 commit comments