[lld] [llvm] [dyndbg][LLD][ELF] Initial LLD support for dynamic debugging (PR #214188)

Peter Smith via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 7 09:06:36 PDT 2026


================
@@ -1914,6 +1918,41 @@ template <class ELFT> void Writer<ELFT>::finalizeSections() {
     // called after processSymbolAssignments() because it needs to know whether
     // a linker-script-defined symbol is absolute.
     scanRelocations<ELFT>(ctx);
+
+    // Process symbols referenced by the embedded unoptimized part of dynamic
+    // debugging.
----------------
smithp35 wrote:

Would be good to say what process means. Something like:
```debuging. This involves reporting undefined symbols and making sure that functions defined by shared-objects get PLT entries.```
  

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


More information about the llvm-commits mailing list