llvm.org GIT mirror llvm / release_80 test / tools / llvm-objcopy / ELF / symtab-error-on-remove-strtab.test
release_80

Tree @release_80 (Download .tar.gz)

symtab-error-on-remove-strtab.test @release_80raw · history · blame

# RUN: yaml2obj %s > %t
# RUN: not llvm-objcopy -R .strtab %t %t2 2>&1 >/dev/null | FileCheck %s

!ELF
FileHeader:
  Class:           ELFCLASS64
  Data:            ELFDATA2LSB
  Type:            ET_REL
  Machine:         EM_X86_64

# CHECK: String table .strtab cannot be removed because it is referenced by the symbol table .symtab