llvm.org GIT mirror llvm / stable test / tools / llvm-objcopy / ELF / hexagon-unsupported-on-x86.test
stable

Tree @stable (Download .tar.gz)

hexagon-unsupported-on-x86.test @stableraw · 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:    SHN_HEXAGON_SCOMMON
    Binding:  STB_GLOBAL

# CHECK: Symbol 'test' has unsupported value greater than or equal to SHN_LORESERVE: 65280