[lld] [lld][ELF] Add --debug-names to create merged .debug_names. (PR #86508)
via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 16 20:58:29 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
----------------
cmtice wrote:
I think this is "bit-rot" in the comment. :-). I'll try to clean it up.
https://github.com/llvm/llvm-project/pull/86508
More information about the llvm-commits
mailing list