[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
================
@@ -301,6 +301,9 @@ class DwarfUnit : public DIEUnit {
/// Get context owner's DIE.
DIE *createTypeDIE(const DICompositeType *Ty);
+ /// Returns a unique ID.
+ virtual unsigned getUniqueID() const = 0;
+
----------------
dwblaikie wrote:
Given that these IDs would be in distinct collections for type units and compile units, is it useful for this to be a virtual function? What code is generic over CU and TU and uses the unique ID effectively?
https://github.com/llvm/llvm-project/pull/70515
More information about the llvm-commits
mailing list