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

Felipe de Azevedo Piovezan via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 19 11:04:35 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.
----------------
felipepiovezan wrote:

> This has been pulled out of DWARFDebugNames, to
 // allow easier sharing of the code with other tools, such as LLD.

This is more of a review comment than documentation, I suggest removing this

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


More information about the llvm-commits mailing list