Debian Codegraph @

llvm/test/tools/llvm-objcopy/ELF/response-file.test

raw
1 ## Check that we support response files.
2 # RUN: yaml2obj %s -o %t.o
3 # RUN: echo "--strip-debug %t.o" > %t-response
4 # RUN: llvm-objcopy @%t-response %t2.o
5 # RUN: llvm-strip @%t-response
6
7 # RUN: llvm-readobj -S %t.o | FileCheck %s
8 # RUN: cmp %t.o %t2.o
9
10 # CHECK-NOT: .debug_foo
11
12 --- !ELF
13 FileHeader:
14 Class: ELFCLASS64
15 Data: ELFDATA2LSB
16 Type: ET_EXEC
17 Machine: EM_X86_64
18 Sections:
19 - Name: .debug_foo
20 Type: SHT_PROGBITS