[lld] [llvm] [dyndbg][LLD][ELF] Initial LLD support for dynamic debugging (PR #214188)
Peter Smith via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 6 09:55:18 PDT 2026
================
@@ -3240,6 +3249,41 @@ static void postParseObjectFile(ELFFileBase *file) {
}
}
+template <class ELFT> static void linkDynamicDebug(Ctx &ctx) {
----------------
smithp35 wrote:
I think it would be useful to have a comment summarising DynamicDebug here. I expect that many won't be familiar with it and I don't think there's much documentation we can point to.
For example:
```
Objects that support Dynamic Debugging contain an ELF Dynamic Debugging Section that embeds an unoptimized ELF file with debug information. We extract these embedded ELF files to make a consolidated unoptimized relocatable ELF file to embed into the Output.
```
https://github.com/llvm/llvm-project/pull/214188
More information about the llvm-commits
mailing list