llvm.org GIT mirror llvm / stable test / tools / llvm-objcopy / ELF / remove-shstrtab-error.test
stable

Tree @stable (Download .tar.gz)

remove-shstrtab-error.test @stableraw · history · blame

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

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

# CHECK: Cannot write section header table because section header string table was removed.