[PATCH] D135267: [DWARF] Share across CUs only when order free
DianQK via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Oct 5 07:07:26 PDT 2022
DianQK created this revision.
Herald added a subscriber: hiraditya.
Herald added a project: All.
DianQK requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
This patch fixed some invalidating cross-unit references. When a successor node exists for `DIType`, we cannot freely share `DIType` across CUs.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D135267
Files:
llvm/include/llvm/IR/DebugInfoMetadata.h
llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h
llvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp
llvm/test/DebugInfo/cross-cu-scope-2.ll
llvm/test/DebugInfo/cross-cu-scope.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D135267.465383.patch
Type: text/x-patch
Size: 7557 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221005/343083e0/attachment.bin>
More information about the llvm-commits
mailing list