[llvm] [LLVM][DWARF] Add support for monolithic types in .debug_names (PR #70515)

Alexander Yermolovich via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 2 15:57:26 PDT 2023


================
@@ -310,17 +344,19 @@ void emitAppleAccelTable(AsmPrinter *Asm, AccelTable<DataT> &Contents,
 
 void emitDWARF5AccelTable(AsmPrinter *Asm, DWARF5AccelTable &Contents,
                           const DwarfDebug &DD,
-                          ArrayRef<std::unique_ptr<DwarfCompileUnit>> CUs);
-
+                          ArrayRef<std::unique_ptr<DwarfCompileUnit>> CUs,
+                          TUVectorTy TUSymbols);
+using GetIndexForEntryReturnType =
----------------
ayermolo wrote:

The reason I went with using is because if down the road underlying type changes we don't need to codemod it all over the place. So easier to refactor if the need arises. Maybe you can suggest a better name? :)

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


More information about the llvm-commits mailing list