[llvm] [LLVM][DWARF] Add support for monolithic types in .debug_names (PR #70515)
Alexander Yermolovich via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 14 16:40:09 PST 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) {}
----------------
ayermolo wrote:
I don't think it can. Unless I am missing something. When this constructor is called the DIE offset is not known yet. I guess after the call we can over-write OffsetVal with Die again?
https://github.com/llvm/llvm-project/pull/70515
More information about the llvm-commits
mailing list