[InstCombine] Remove insertRangeTest code that handles the equality case.
[llvm-complete.git] / test / tools / llvm-objcopy / ELF / add-section.test
blobbf3ffdb090ef0ce04e3a32571bd742df58f8ea3a
1 # RUN: yaml2obj %s > %t
2 # RUN: llvm-objcopy -O binary -j .test2 %t %t.sec
3 # RUN: llvm-objcopy -R .test2 %t %t2
4 # RUN: llvm-objcopy --add-section=.test2=%t.sec %t2 %t3
5 # RUN: llvm-readobj --file-headers --sections --section-data %t3 | FileCheck %s
7 !ELF
8 FileHeader:
9   Class:           ELFCLASS64
10   Data:            ELFDATA2LSB
11   Type:            ET_REL
12   Machine:         EM_X86_64
13 Sections:
14   - Name:            .test1
15     Type:            SHT_PROGBITS
16     Flags:           [ SHF_ALLOC ]
17     Content:        "c3c3c3c3"
18   - Name:            .test2
19     Type:            SHT_PROGBITS
20     Flags:           [ SHF_ALLOC ]
21     Content:        "DEADBEEF"
22   - Name:            .test3
23     Type:            SHT_PROGBITS
24     Flags:           [ SHF_ALLOC ]
25     Content:        "32323232"
27 # CHECK: SectionHeaderCount: 7
29 # CHECK: Name: .test1
30 # CHECK: Name: .test3
31 # CHECK: Name: .symtab
32 # CHECK: Name: .strtab
33 # CHECK: Name: .shstrtab
34 # CHECK: Name: .test2
35 # CHECK: SectionData (
36 # CHECK-NEXT:   0000: DEADBEEF
37 # CHECK-NEXT: )