[llvm] [LLVM][DWARF] Add support for monolithic types in .debug_names (PR #70515)
David Blaikie via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 14 11:53:17 PST 2023
================
@@ -409,6 +408,11 @@ class DwarfDebug : public DebugHandlerBase {
std::pair<std::unique_ptr<DwarfTypeUnit>, const DICompositeType *>, 1>
TypeUnitsUnderConstruction;
+ /// Used to set a uniqe ID for a Type Unit.
+ /// This counter represents number of DwarfTypeUnits created, not necessarily
+ /// number of type units that will be emitted.
+ unsigned NumTypeUnitsCreated = 0;
----------------
dwblaikie wrote:
not sure I understand:
> 2) after it was fully construct it disregard it after writing it out.
Can you describe this in more words?
https://github.com/llvm/llvm-project/pull/70515
More information about the llvm-commits
mailing list