[all-commits] [llvm/llvm-project] 11ca56: [llvm-objcopy] Don't remove .gnu_debuglink section...
Felix Kellenbenz via All-commits
all-commits at lists.llvm.org
Wed Jan 24 00:12:29 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 11ca56eaf1aaf4f7fba5d94562c6b6c0d4444bc3
https://github.com/llvm/llvm-project/commit/11ca56eaf1aaf4f7fba5d94562c6b6c0d4444bc3
Author: Felix Kellenbenz <107758057+felixkellenbenz at users.noreply.github.com>
Date: 2024-01-24 (Wed, 24 Jan 2024)
Changed paths:
M llvm/lib/ObjCopy/ELF/ELFObjcopy.cpp
M llvm/test/tools/llvm-objcopy/ELF/strip-all.test
Log Message:
-----------
[llvm-objcopy] Don't remove .gnu_debuglink section when using --strip-all (#78919)
This fixes the issue mentioned here:
https://github.com/llvm/llvm-project/issues/57407
It prevents `llvm-objcopy` from removing the `.gnu _debuglink` section
when used with the `--strip-all` flag. Since `--strip-all` is the
default of `llvm-strip` the patch also prevents `llvm-strip` from
removing the `.gnu_debuglink` section.
More information about the All-commits
mailing list