llvm-project/llvm/tools/llvm-objcopy
Fangrui Song 87b4b8f7b4 [llvm-objcopy] Make --strip-debug strip .gdb_index
Summary:
See binutils-gdb/bfd/elf.c, GNU objcopy also strips .stab* (STABS)
.line* (DWARF 1) .gnu.linkonce.wi.* (linkonce section for .debug_info) but
I'm not sure we need to be compatible with it.

Reviewers: dblaikie, alexshap, jakehehrlich, jhenderson

Reviewed By: alexshap, jakehehrlich

Subscribers: aprantl, JDevlieghere, jakehehrlich, llvm-commits

Differential Revision: https://reviews.llvm.org/D50100

llvm-svn: 338443
2018-07-31 21:26:35 +00:00
..
CMakeLists.txt [tools] Introduce llvm-strip 2018-05-07 19:32:09 +00:00
LLVMBuild.txt Recommit "[llvm-objcopy] Switch over to using TableGen for parsing arguments" 2018-04-24 05:43:32 +00:00
ObjcopyOpts.td [llvm-objcopy] Add basic support for --rename-section 2018-07-20 19:54:24 +00:00
Object.cpp [NFC][llvm-objcopy] Cleanup namespace usage in llvm-objcopy. 2018-07-18 00:10:51 +00:00
Object.h [NFC][llvm-objcopy] Cleanup namespace usage in llvm-objcopy. 2018-07-18 00:10:51 +00:00
StripOpts.td Add --strip-all option back to llvm-strip. 2018-07-12 17:42:17 +00:00
llvm-objcopy.cpp [llvm-objcopy] Make --strip-debug strip .gdb_index 2018-07-31 21:26:35 +00:00
llvm-objcopy.h [NFC][llvm-objcopy] Cleanup namespace usage in llvm-objcopy. 2018-07-18 00:10:51 +00:00