bolt/deps/llvm-18.1.8/llvm/test/tools/llvm-objcopy/ELF/discard-all-debug.test

6 lines
346 B
Text
Raw Normal View History

2025-02-14 19:21:04 +01: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