brintos

brintos / llvm-project-archived public Read only

0
0
Text · 710 B · 8a00790 Raw
29 lines · plain
1# RUN: yaml2obj %s -o %t.o2# RUN: llvm-readobj -r %t.o 2>&1 | FileCheck %s3 4# CHECK:      Format: elf64-x86-645# CHECK-NEXT: Arch: x86_646# CHECK-NEXT: AddressSize: 64bit7# CHECK-NEXT: LoadName:8# CHECK-NEXT: Relocations [9# CHECK-NEXT:   Section (2) .rela.foo {10# CHECK-NEXT:     0x0 R_X86_64_NONE - 0x011# CHECK-NEXT:   }12# CHECK-NEXT: ]13 14--- !ELF15FileHeader:16  Class:           ELFCLASS6417  Data:            ELFDATA2LSB18  Type:            ET_REL19  Machine:         EM_X86_6420Sections:21  - Name:            .foo22    Type:            SHT_PROGBITS23    Content:         4224  - Name:            .rela.foo25    Type:            SHT_RELA26    Info:            .foo27    Relocations:28      - Type:        R_X86_64_NONE29