21 lines · plain
1## Check that we support response files.2# RUN: yaml2obj %s -o %t.o3# RUN: echo "--strip-debug %t.o" > %t-response4# RUN: llvm-objcopy @%t-response %t2.o5# RUN: llvm-strip @%t-response6 7# RUN: llvm-readobj -S %t.o | FileCheck %s8# RUN: cmp %t.o %t2.o9 10# CHECK-NOT: .debug_foo11 12--- !ELF13FileHeader:14 Class: ELFCLASS6415 Data: ELFDATA2LSB16 Type: ET_EXEC17 Machine: EM_X86_6418Sections:19 - Name: .debug_foo20 Type: SHT_PROGBITS21