[lld] [lld][ELF] Add --debug-names to create merged .debug_names. (PR #86508)

via llvm-commits llvm-commits at lists.llvm.org
Sun Apr 14 21:59:41 PDT 2024


================
@@ -1,10 +1,10 @@
-# This file was generated by first compiling main.cpp:
-# clang++ -g -O0 -S -gpubnames -fdebug-compilation-dir='debug-names-test' \
-#      main.cpp
+# This file was generated by first compiling a.cpp:
+# clang++ -g -O0 -S -gpubnames -fdebug-compilation-dir='/proc/self/cwd' a.cpp
----------------
cmtice wrote:

I think you were looking at a stale version of the tests.  I have already updated them all to use '/proc/self/cwd' rather than 'debug-names-test' for the -fdebug-compilation-dir.

I will try to update the comments, etc. to be more consistent, as you've requested./

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


More information about the llvm-commits mailing list