brintos

brintos / llvm-project-archived public Read only

0
0
Text · 557 B · 78494e8 Raw
18 lines · plain
1# RUN: yaml2obj %s -o %t -DMACHINE=HEXAGON2# RUN: not llvm-objcopy %t %t2 2>&1 >/dev/null | FileCheck %s -DINDEX=652803# RUN: yaml2obj %s -o %t -DMACHINE=MIPS4# RUN: not llvm-objcopy %t %t2 2>&1 >/dev/null | FileCheck %s -DINDEX=652835 6!ELF7FileHeader:8  Class:           ELFCLASS649  Data:            ELFDATA2LSB10  Type:            ET_EXEC11  Machine:         EM_X86_6412Symbols:13  - Name:     test14    Index:    SHN_[[MACHINE]]_SCOMMON15    Binding:  STB_GLOBAL16 17# CHECK: symbol 'test' has unsupported value greater than or equal to SHN_LORESERVE: [[INDEX]]18