[llvm] [LLVM][DWARF] Add support for monolithic types in .debug_names (PR #70515)
David Blaikie via llvm-commits
llvm-commits at lists.llvm.org
Wed Nov 1 17:06:27 PDT 2023
================
@@ -358,8 +359,10 @@ void AppleAccelTableWriter::emit() const {
}
DWARF5AccelTableData::DWARF5AccelTableData(const DIE &Die,
- const DwarfCompileUnit &CU)
- : OffsetVal(&Die), DieTag(Die.getTag()), UnitID(CU.getUniqueID()) {}
+ const DwarfUnit &Unit,
+ const bool IsTU)
+ : OffsetVal(&Die), DieTag(Die.getTag()), UnitID(Unit.getUniqueID()),
+ IsTU(IsTU) {}
----------------
dwblaikie wrote:
Not sure if it'd be better or worse, but this could use a forwarding ctor call here
https://github.com/llvm/llvm-project/pull/70515
More information about the llvm-commits
mailing list