llvm.org GIT mirror llvm / 894e54f test / tools / llvm-objcopy / ELF / section-index-unsupported.test
894e54f

Tree @894e54f (Download .tar.gz)

section-index-unsupported.test @894e54fraw · history · blame

# RUN: yaml2obj %s > %t
# RUN: not llvm-objcopy %t %t2 2>&1 >/dev/null | FileCheck %s

!ELF
FileHeader:
  Class:           ELFCLASS64
  Data:            ELFDATA2LSB
  Type:            ET_EXEC
  Machine:         EM_X86_64
Symbols:
  - Name:     test
    Index:    0xff05
    Binding:  STB_GLOBAL

# CHECK: symbol 'test' has unsupported value greater than or equal to SHN_LORESERVE: 65285