1# RUN: yaml2obj %s -o %t 2# RUN: llvm-objdump -p %t | FileCheck --strict-whitespace %s 3 4# CHECK: Version definitions: 5# CHECK-NEXT: 1 0x01 0x075bcd15 foo 6# CHECK-NEXT: 2 0x02 0x3ade68b1 VERSION_1 7# CHECK-NEXT: VERSION_2 8 9--- !ELF 10FileHeader: 11 Class: ELFCLASS64 12 Data: ELFDATA2LSB 13 Type: ET_DYN 14 Machine: EM_X86_64 15 Entry: 0x0000000000001000 16Sections: 17 - Name: .gnu.version_d 18 Type: SHT_GNU_verdef 19 Flags: [ SHF_ALLOC ] 20 Address: 0x0000000000000230 21 Link: .dynstr 22 AddressAlign: 0x0000000000000004 23 Info: 0x0000000000000003 24 Entries: 25 - Version: 1 26 Flags: 1 27 VersionNdx: 1 28 Hash: 123456789 29 Names: 30 - foo 31 - Version: 1 32 Flags: 2 33 VersionNdx: 2 34 Hash: 987654321 35 Names: 36 - VERSION_1 37 - VERSION_2 38DynamicSymbols: 39 - Name: bar 40 Binding: STB_GLOBAL 41... 42