[llvm] [DebugInfo][DWARF] Add heapallocsite information (PR #132073)
David Blaikie via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 5 09:58:35 PDT 2025
================
@@ -1350,6 +1348,10 @@ DIE &DwarfCompileUnit::constructCallSiteEntryDIE(DIE &ScopeDIE,
getDwarf5OrGNUAttr(dwarf::DW_AT_call_return_pc), PCAddr);
}
+ if (AllocSiteTy) {
+ addType(CallSiteDIE, AllocSiteTy, dwarf::DW_AT_LLVM_alloc_type);
+ }
----------------
dwblaikie wrote:
LLVM style omits braces on single-line statements - please remove them here (unless there's some local convention in the file that goes against this)
https://github.com/llvm/llvm-project/pull/132073
More information about the llvm-commits
mailing list