[lld] [lld][ELF] Add --debug-names to create merged .debug_names. (PR #86508)

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 16 20:56:25 PDT 2024


================
@@ -858,6 +858,10 @@ class DebugNamesBaseSection : public SyntheticSection {
     // Pointer to the .debug_info section that contains compile units, used to
     // compute the relocated CU offsets.
     InputSection *infoSec;
+    // This initially holds section offsets, which may not be consecutive if
+    // there are multiple name indices in an input .debug_names section. After
----------------
MaskRay wrote:

Shall I say "This initially holds section offsets, whose locations may not be consecutive ... " ?

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


More information about the llvm-commits mailing list