llvm.org GIT mirror llvm / stable test / tools / llvm-objcopy / ELF / discard-all-debug.test
stable

Tree @stable (Download .tar.gz)

discard-all-debug.test @stableraw · history · blame

1
2
3
4
5
# RUN: cp %p/Inputs/dwarf.dwo %t
# RUN: llvm-strip --keep-symbol=.L.str --discard-all %t -o %t1
# RUN: llvm-readobj --file-headers --sections %t1 | FileCheck --implicit-check-not=.debug_ %s
# RUN: llvm-objcopy --keep-symbol=.L.str --discard-all %t %t2
# RUN: llvm-readobj --file-headers --sections %t2 | FileCheck --implicit-check-not=.debug_ %s