llvm/test/tools/llvm-objcopy/ELF/section-index-unsupported.test
raw| 1 | # RUN: yaml2obj %s -o %t |
| 2 | # RUN: not llvm-objcopy %t %t2 2>&1 >/dev/null | FileCheck %s |
| 3 | |
| 4 | !ELF |
| 5 | FileHeader: |
| 6 | Class: ELFCLASS64 |
| 7 | Data: ELFDATA2LSB |
| 8 | Type: ET_EXEC |
| 9 | Machine: EM_X86_64 |
| 10 | Symbols: |
| 11 | - Name: test |
| 12 | Index: 0xff05 |
| 13 | Binding: STB_GLOBAL |
| 14 | |
| 15 | # CHECK: symbol 'test' has unsupported value greater than or equal to SHN_LORESERVE: 65285 |