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