[lld] [lld][ELF] Implement merged .debug_names section. (PR #86508)
Fangrui Song via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 10 10:29:45 PDT 2024
================
@@ -2690,6 +2693,756 @@ static uint32_t computeGdbHash(StringRef s) {
return h;
}
+template <class ELFT>
+DebugNamesSection<ELFT>::DebugNamesSection()
+ : SyntheticSection(0, SHT_PROGBITS, 1, ".debug_names") {}
----------------
MaskRay wrote:
I switched to sh_addralign=4 in my branch. I believe the intention is for values in the hash lookup table and the name table to be aligned.
https://github.com/llvm/llvm-project/pull/86508
More information about the llvm-commits
mailing list