Jake Ehrlich | 36a2eb3 | 2017-10-10 18:47:09 +0000 | [diff] [blame] | 1 | # RUN: yaml2obj %s > %t |
2 | # RUN: not llvm-objcopy -R .shstrtab %t %t2 2>&1 >/dev/null | FileCheck %s | ||||
3 | |||||
4 | !ELF | ||||
5 | FileHeader: | ||||
6 | Class: ELFCLASS64 | ||||
7 | Data: ELFDATA2LSB | ||||
8 | Type: ET_REL | ||||
9 | Machine: EM_X86_64 | ||||
10 | |||||
Jake Ehrlich | 76e9110 | 2018-01-25 22:46:17 +0000 | [diff] [blame] | 11 | # CHECK: Cannot write section header table because section header string table was removed. |