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.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
test/tools/llvm-objcopy/strip-debug.test | ||
---|---|---|
94 ↗ | (On Diff #158374) | This wasn't a typeo, it was put there on purpose to test that anything start with ".debug" would trigger |