[lld] [lld][ELF] Implement merged .debug_names section. (PR #86508)

Alexander Yermolovich via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 28 12:02:46 PDT 2024


================
@@ -441,6 +441,8 @@ static void checkOptions() {
       error("-r and -pie may not be used together");
     if (config->exportDynamic)
       error("-r and --export-dynamic may not be used together");
+    if (config->debugNames)
----------------
ayermolo wrote:

Why this combo can't be used? Debug sections are not loaded into memory, and addresses/offsets won't change.

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


More information about the llvm-commits mailing list