Debian Codegraph @

llvm/test/tools/llvm-objcopy/ELF/unsupported-machine-specific-shndx.test

raw
1 # RUN: yaml2obj %s -o %t -DMACHINE=HEXAGON
2 # RUN: not llvm-objcopy %t %t2 2>&1 >/dev/null | FileCheck %s -DINDEX=65280
3 # RUN: yaml2obj %s -o %t -DMACHINE=MIPS
4 # RUN: not llvm-objcopy %t %t2 2>&1 >/dev/null | FileCheck %s -DINDEX=65283
5
6 !ELF
7 FileHeader:
8 Class: ELFCLASS64
9 Data: ELFDATA2LSB
10 Type: ET_EXEC
11 Machine: EM_X86_64
12 Symbols:
13 - Name: test
14 Index: SHN_[[MACHINE]]_SCOMMON
15 Binding: STB_GLOBAL
16
17 # CHECK: symbol 'test' has unsupported value greater than or equal to SHN_LORESERVE: [[INDEX]]