• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1## Show that llvm-size can consume a response file.
2
3# RUN: echo "-t %t" > %t.rsp
4# RUN: yaml2obj %s -o %t
5# RUN: llvm-size -x @%t.rsp | FileCheck %s -DFILE=%t
6
7# CHECK:         text    data     bss     dec     hex filename
8# CHECK-NEXT:    0x10       0       0      16      10 [[FILE]]
9# CHECK-NEXT:    0x10       0       0      16      10 (TOTALS)
10
11--- !ELF
12FileHeader:
13  Class:   ELFCLASS64
14  Data:    ELFDATA2LSB
15  Type:    ET_EXEC
16  Machine: EM_X86_64
17Sections:
18  - Name:  .text
19    Type:  SHT_PROGBITS
20    Size:  0x10
21    Flags: [SHF_ALLOC, SHF_EXECINSTR]
22