brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.1 KiB · 2960c72 Raw
45 lines · plain
1# RUN: yaml2obj %s -o %t.o2# RUN: llvm-nm %t.o --format=sysv | FileCheck %s3 4!ELF5FileHeader:6  Class:   ELFCLASS647  Data:    ELFDATA2LSB8  Type:    ET_REL9  Machine: EM_X86_6410Sections:11  - Name:  .text12    Type:  SHT_PROGBITS13    Flags: [ SHF_ALLOC, SHF_EXECINSTR ]14Symbols:15  - Name:    local_binding16    Binding: STB_LOCAL17    Section: .text18    Value:   0xbeef19  - Name:    global_binding20    Binding: STB_GLOBAL21    Section: .text22  - Name:    weak_binding23    Binding: STB_WEAK24    Section: .text25  - Name:    unrecognised_binding26    Binding: 527    Section: .text28  - Name:    gnu_unique_binding29    Binding: 1030    Section: .text31  - Name:    os_binding32    Binding: 1133    Section: .text34  - Name:    proc_binding35    Binding: 1436    Section: .text37 38# CHECK:      global_binding      {{.*}}|   T  |39# CHECK-NEXT: gnu_unique_binding  {{.*}}|   u  |40# CHECK-NEXT: local_binding       {{.*}}|   t  |41# CHECK-NEXT: os_binding          {{.*}}|   ?  |42# CHECK-NEXT: proc_binding        {{.*}}|   ?  |43# CHECK-NEXT: unrecognised_binding{{.*}}|   ?  |44# CHECK-NEXT: weak_binding        {{.*}}|   W  |45