brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.5 KiB · cf1c18e Raw
51 lines · plain
1# RUN: yaml2obj %s -o %t2# RUN: llvm-objdump -p %t 2>&1 | FileCheck %s3 4# We have a SHT_GNU_verneed section with a broken sh_info field5# that says the section contains more entries than it actually has.6 7# CHECK:      Version References:8# CHECK-NEXT:   required from dso.so.0:9# CHECK-NEXT:     0x000004d2 0x0a 03 v110# CHECK-NEXT:     0x0000162e 0x0b 04 v211# CHECK-NEXT:   required from dso.so.1:12# CHECK-NEXT:     0x000011d7 0x0c 02 v313 14--- !ELF15FileHeader:16  Class:           ELFCLASS6417  Data:            ELFDATA2LSB18  Type:            ET_EXEC19  Machine:         EM_X86_6420  Entry:           0x000000000020100021Sections:22  - Name:            .gnu.version_r23    Type:            SHT_GNU_verneed24    Flags:           [ SHF_ALLOC ]25    Address:         0x000000000020025026    Link:            .dynstr27    AddressAlign:    0x000000000000000428    Info:            0x000000000000999929    Dependencies:30      - Version:         131        File:            dso.so.032        Entries:33          - Name:            v134            Hash:            123435            Flags:           1036            Other:           337          - Name:            v238            Hash:            567839            Flags:           1140            Other:           441      - Version:         142        File:            dso.so.143        Entries:44          - Name:            v345            Hash:            456746            Flags:           1247            Other:           248DynamicSymbols:49  - Name:    f150    Binding: STB_GLOBAL51