[mlir] [openmp] [libc] [libcxx] [libclc] [lld] [lldb] [clang-tools-extra] [compiler-rt] [clang] [llvm] Make llvm-strip not eat the .gnu_debuglink section (PR #78919)

James Henderson via cfe-commits cfe-commits at lists.llvm.org
Mon Jan 22 00:53:51 PST 2024


https://github.com/jh7370 requested changes to this pull request.

Hi, thanks for the contribution.

Please could you add a new lit test case to show that this behaviour works as intended.

I note that this code as-is only impacts `--strip-all` behaviour. This means that if you use `--strip-debug`, the section will get removed. Is this intentional? What do GNU strip or objcopy do in these cases?

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


More information about the cfe-commits mailing list