[llvm] [LLVM][DWARF] Add support for monolithic types in .debug_names (PR #70515)
David Blaikie via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 30 13:58:00 PDT 2023
================
@@ -24,6 +24,10 @@ void DwarfFile::addUnit(std::unique_ptr<DwarfCompileUnit> U) {
CUs.push_back(std::move(U));
}
+void DwarfFile::addTypeUnitSymbol(DwarfTypeUnit &U) {
+ TUSymbols.emplace_back(U.getLabelBegin(), U.getUniqueID());
----------------
dwblaikie wrote:
Could we store these TUSymbols in the accelerator table instead of adding more wider-scoped state to DwarfDebug?
https://github.com/llvm/llvm-project/pull/70515
More information about the llvm-commits
mailing list