[llvm] [LLVM][DebugInfo] Refactor some code for easier sharing. (PR #82153)

Adrian Prantl via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 19 11:00:04 PST 2024


================
@@ -793,6 +799,14 @@ class DWARFDebugNames : public DWARFAcceleratorTable {
   const NameIndex *getCUNameIndex(uint64_t CUOffset);
 };
 
+// Calculates the starting offsets for various sections within the
+// debug_names section. This has been pulled out of DWARFDebugNames, to
+// allow easier sharing of the code with other tools, such as LLD.
----------------
adrian-prantl wrote:

///

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


More information about the llvm-commits mailing list