[llvm] [LLVM][DWARF] Change .debug_names abbrev to be an index (PR #81200)

Alexander Yermolovich via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 12 15:10:14 PST 2024


================
@@ -223,6 +225,15 @@ class Dwarf5AccelTableWriter : public AccelTableWriter {
   bool IsSplitDwarf = false;
   /// Stores the DIE offsets which are indexed by this table.
   DenseSet<OffsetAndUnitID> IndexedOffsets;
+  /// Mapping between AbbrevTag and Index.
+  DenseMap<uint32_t, uint32_t> AbbrevTagToIndexMap;
----------------
ayermolo wrote:

Changed to folding set.

https://github.com/llvm/llvm-project/pull/81200


More information about the llvm-commits mailing list