[InstCombine] Signed saturation patterns
[llvm-core.git] / test / tools / llvm-objcopy / ELF / only-section-strip-non-alloc.test
blobae39b51226b790cfe6f572b513dc1b01de7a4b9d
1 # RUN: yaml2obj %s > %t
2 # RUN: llvm-objcopy --strip-non-alloc --only-section=.test %t %t2
3 # RUN: llvm-readobj --file-headers --sections %t2 | FileCheck %s
5 !ELF
6 FileHeader:
7   Class:           ELFCLASS64
8   Data:            ELFDATA2LSB
9   Type:            ET_REL
10   Machine:         EM_X86_64
11 Sections:
12   - Name:            .test
13     Type:            SHT_PROGBITS
14     Flags:           [ ]
16 # CHECK: SectionHeaderCount: 3
18 # CHECK:     Name: .test
19 # CHECK:     Name: .shstrtab