llvm/test/tools/llvm-objcopy/ELF/remove-shstrtab-error.test
raw| 1 | # RUN: yaml2obj %s -o %t |
| 2 | # RUN: not llvm-objcopy -R .shstrtab %t %t2 2>&1 >/dev/null | FileCheck %s -DINPUT=%t |
| 3 | |
| 4 | !ELF |
| 5 | FileHeader: |
| 6 | Class: ELFCLASS64 |
| 7 | Data: ELFDATA2LSB |
| 8 | Type: ET_REL |
| 9 | Machine: EM_X86_64 |
| 10 | |
| 11 | # CHECK: error: '[[INPUT]]': cannot write section header table because section header string table was removed |