blob: d9603996d7f96ad23eaa5c85ae569ff1bc5c4638 [file] [log] [blame]
Jake Ehrlich36a2eb32017-10-10 18:47:09 +00001# RUN: yaml2obj %s > %t
2# RUN: not llvm-objcopy -R .strtab %t %t2 2>&1 >/dev/null | FileCheck %s
3
4!ELF
5FileHeader:
6 Class: ELFCLASS64
7 Data: ELFDATA2LSB
8 Type: ET_REL
9 Machine: EM_X86_64
10
11# CHECK: String table .strtab cannot be removed because it is referenced by the symbol table .symtab