[PATCH] D112337: [DebugInfo] Only create concrete DIEs of concrete functions
Ellis Hoag via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 22 12:05:02 PDT 2021
ellis created this revision.
Herald added a subscriber: hiraditya.
ellis requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
At the begining of the module we can iterate through the functions to
see which SPs should have concrete DIEs. Then when we need to reference
a DIE for a SP we can decide if it's ok to create a concrete DIE or not.
Fixes
- https://bugs.llvm.org/show_bug.cgi?id=52159
- https://bugs.llvm.org/show_bug.cgi?id=30637
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D112337
Files:
llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h
llvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp
llvm/test/DebugInfo/Generic/import-inlined-declaration.ll
llvm/test/DebugInfo/Generic/inlined-local-type.ll
llvm/test/DebugInfo/Generic/inlined-static-var.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D112337.381621.patch
Type: text/x-patch
Size: 18089 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211022/f40433bb/attachment.bin>
More information about the llvm-commits
mailing list