[NFC][RemoveDIs] Prefer iterators over inst-pointers in InstCombine
[llvm-project.git] / llvm / test / Object / multiple-sections.yaml
bloba0f8df7cfeb578fa36a3626a863672fc1a6142ef
1 # RUN: yaml2obj %s -o %t.o
2 # RUN: llvm-readobj -a --cg-profile --addrsig %t.o | FileCheck %s
4 # Test that multiple sections with the same type does not trigger an error.
6 # CHECK: ElfHeader {
7 # CHECK: VersionSymbols [
8 # CHECK: VersionDefinitions [
9 # CHECK: VersionRequirements [
10 # CHECK: CGProfile [
11 # CHECK: CGProfile [
12 # CHECK: Addrsig [
14 --- !ELF
15 FileHeader:
16   Class:           ELFCLASS64
17   Data:            ELFDATA2LSB
18   Type:            ET_REL
19   Machine:         EM_X86_64
20 Sections:
21   - Name:            .symtab2
22     Type:            SHT_SYMTAB
23     Link:            .strtab
24     Content:         ''
25     EntSize:         24
26   - Name:            .versym
27     Type:            SHT_GNU_versym
28     Entries:         [ 0 ]
29     Link:            .dynsym
30   - Name:            .versym2
31     Type:            SHT_GNU_versym
32     Entries:         [ 0 ]
33     Link:            .dynsym
34   - Name:            .verdef
35     Type:            SHT_GNU_verdef
36     Info:            0x0000000000000000
37     Entries:
38   - Name:            .verdef2
39     Type:            SHT_GNU_verdef
40     Info:            0x0000000000000000
41     Entries:
42   - Name:            .verneed
43     Type:            SHT_GNU_verneed
44     Info:            0x0000000000000000
45     Dependencies:
46   - Name:            .verneed2
47     Type:            SHT_GNU_verneed
48     Info:            0x0000000000000000
49     Dependencies:
50   - Name:            .llvm.call-graph-profile
51     Type:            SHT_LLVM_CALL_GRAPH_PROFILE
52     Content:         ''
53     EntSize:         8
54   - Name:            .llvm.call-graph-profile2
55     Type:            SHT_LLVM_CALL_GRAPH_PROFILE
56     Content:         ''
57     EntSize:         8
58   - Name:            .llvm_addrsig
59     Type:            SHT_LLVM_ADDRSIG
60     Content:         ''
61   - Name:            .llvm_addrsig2
62     Type:            SHT_LLVM_ADDRSIG
63     Content:         ''
64 Symbols:
65   - Name:            f
66 DynamicSymbols: []
67 ...