[llvm] [LLVM[NFC] Refactor to allow debug_names entries to conatain DIE offset (PR #69399)
David Blaikie via llvm-commits
llvm-commits at lists.llvm.org
Wed Oct 18 15:09:05 PDT 2023
================
@@ -3547,9 +3547,11 @@ void DwarfDebug::addAccelNameImpl(const DICompileUnit &CU,
case AccelTableKind::Apple:
AppleAccel.addName(Ref, Die);
break;
- case AccelTableKind::Dwarf:
- AccelDebugNames.addName(Ref, Die);
+ case AccelTableKind::Dwarf: {
+ DwarfCompileUnit *CU = lookupCU(Die.getUnitDie());
----------------
dwblaikie wrote:
Is the `addAccelNameImpl`'s `CU` parameter not accurate/correct here?
https://github.com/llvm/llvm-project/pull/69399
More information about the llvm-commits
mailing list