llvm-for-llvmta/test/tools/llvm-objcopy/ELF/discard-all-debug.test

6 lines
346 B
Plaintext
Raw Normal View History

2022-04-25 10:02:23 +02:00
# 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