[NFC][RemoveDIs] Prefer iterators over inst-pointers in InstCombine
[llvm-project.git] / llvm / test / tools / llvm-objdump / full-contents.test
blob1ebe4000f8c0a82833f6140c9fb7865e95cf5d99
1 # RUN: yaml2obj %s -o %t
2 # RUN: llvm-objdump --full-contents %t > %t.out1
3 # RUN: llvm-objdump -s %t > %t.out2
4 # RUN: cmp %t.out1 %t.out2
5 # RUN: FileCheck %s --input-file=%t.out1 --implicit-check-not=.empty-progbits \
6 # RUN:              --implicit-check-not=.empty-nobits
8 # CHECK:      .bss
9 # CHECK-NEXT: <skipping contents of bss section at [1000, 1040)>
10 # CHECK:      .text
11 # CHECK-NEXT:  1010 01234567                             .#Eg
12 # CHECK:      .user-defined
13 # CHECK-NEXT:  1020 76543210                             vT2.
14 # CHECK:      .nobits-section
15 # CHECK-NEXT: <skipping contents of bss section at [1030, 1050)>
16 # CHECK:      .non-alloc
17 # CHECK:       0000 11112222                             ..""
18 # CHECK:      .symtab
19 # CHECK:      .strtab
20 # CHECK:      .shstrtab
22 !ELF
23 FileHeader:
24   Class:           ELFCLASS64
25   Data:            ELFDATA2LSB
26   Type:            ET_EXEC
27   Machine:         EM_X86_64
28 Sections:
29   - Name:            .bss
30     Type:            SHT_NOBITS
31     Flags:           [ SHF_ALLOC ]
32     Address:         0x1000
33     AddressAlign:    0x0000000000000010
34     Size:            64
35   - Name:            .text
36     Type:            SHT_PROGBITS
37     Flags:           [ SHF_ALLOC, SHF_EXECINSTR ]
38     Address:         0x1010
39     AddressAlign:    0x0000000000000010
40     Content:         "01234567"
41     Size:            4
42   - Name:            .user-defined
43     Type:            SHT_PROGBITS
44     Flags:           [ SHF_ALLOC ]
45     Address:         0x1020
46     AddressAlign:    0x0000000000000010
47     Content:         "76543210"
48     Size:            4
49   - Name:            .nobits-section
50     Type:            SHT_NOBITS
51     Flags:           [ SHF_ALLOC ]
52     Address:         0x1030
53     AddressAlign:    0x0000000000000010
54     Size:            32
55   - Name:            .empty-progbits
56     Type:            SHT_PROGBITS
57     Address:         0x1040
58     Flags:           [ SHF_ALLOC ]
59   - Name:            .empty-nobits
60     Type:            SHT_NOBITS
61     Address:         0x1050
62     Flags:           [ SHF_ALLOC ]
63   - Name:            .non-alloc
64     Type:            SHT_PROGBITS
65     Flags:           [ ]
66     Content:         '11112222'
67 Symbols: []