[lld] [llvm] [dyndbg][LLD][ELF] Initial LLD support for dynamic debugging (PR #214188)
Fangrui Song via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 3 21:46:14 PDT 2026
================
@@ -640,6 +640,15 @@ template <class ELFT> void ObjFile<ELFT>::parse(bool ignoreComdats) {
continue;
}
+ if (sec.sh_type == SHT_LLVM_DYNDBG_ELF) {
+ if (check(obj.getSectionName(sec, shstrtab)) == dynDbgSecName) {
----------------
MaskRay wrote:
I wonder why you keep this section name check in the presence of the section type check.
Is it to prevent issues when someone uses SHT_LLVM_DYNDBG_ELF (OS-specific range) for other purposes?
https://github.com/llvm/llvm-project/pull/214188
More information about the llvm-commits
mailing list