llvm-for-llvmta/test/tools/llvm-objcopy/ELF/remove-shstrtab-error.test

12 lines
357 B
Plaintext
Raw Permalink Normal View History

2022-04-25 10:02:23 +02:00
# RUN: yaml2obj %s -o %t
# RUN: not llvm-objcopy -R .shstrtab %t %t2 2>&1 >/dev/null | FileCheck %s -DINPUT=%t
!ELF
FileHeader:
Class: ELFCLASS64
Data: ELFDATA2LSB
Type: ET_REL
Machine: EM_X86_64
# CHECK: error: '[[INPUT]]': cannot write section header table because section header string table was removed