brintos

brintos / llvm-project-archived public Read only

0
0
Text · 523 B · 2e00516 Raw
24 lines · plain
1# REQUIRES: x862# RUN: yaml2obj %s -o %t.o3# RUN: ld.lld %t.o -o %t4# RUN: llvm-readelf -S %t | FileCheck %s5 6## Test that we accept forward sh_link references.7 8# CHECK: .linkorder9# CHECK: .text10 11--- !ELF12FileHeader:13  Class:           ELFCLASS6414  Data:            ELFDATA2LSB15  Type:            ET_REL16  Machine:         EM_X86_6417Sections:18  - Name:          .linkorder19    Type:          SHT_PROGBITS20    Flags:         [ SHF_LINK_ORDER ]21    Link:          222  - Name:          .text23    Type:          SHT_PROGBITS24