diff options
Diffstat (limited to 'llvm/test')
-rw-r--r-- | llvm/test/tools/llvm-objcopy/Inputs/alloc-symtab.o | bin | 0 -> 1312 bytes | |||
-rw-r--r-- | llvm/test/tools/llvm-objcopy/binary-out-error.test | 2 | ||||
-rw-r--r-- | llvm/test/tools/llvm-objcopy/remove-shstrtab-error.test | 2 |
3 files changed, 3 insertions, 1 deletions
diff --git a/llvm/test/tools/llvm-objcopy/Inputs/alloc-symtab.o b/llvm/test/tools/llvm-objcopy/Inputs/alloc-symtab.o Binary files differnew file mode 100644 index 00000000000..0ba45662f67 --- /dev/null +++ b/llvm/test/tools/llvm-objcopy/Inputs/alloc-symtab.o diff --git a/llvm/test/tools/llvm-objcopy/binary-out-error.test b/llvm/test/tools/llvm-objcopy/binary-out-error.test new file mode 100644 index 00000000000..820b8f73edf --- /dev/null +++ b/llvm/test/tools/llvm-objcopy/binary-out-error.test @@ -0,0 +1,2 @@ +# RUN: not llvm-objcopy -O binary %p/Inputs/alloc-symtab.o %t2 2>&1 >/dev/null | FileCheck %s --check-prefix=SYMTAB +# SYMTAB: Cannot write symbol table '.symtab' out to binary diff --git a/llvm/test/tools/llvm-objcopy/remove-shstrtab-error.test b/llvm/test/tools/llvm-objcopy/remove-shstrtab-error.test index 7d297ef8fe2..1ce6f5db9cd 100644 --- a/llvm/test/tools/llvm-objcopy/remove-shstrtab-error.test +++ b/llvm/test/tools/llvm-objcopy/remove-shstrtab-error.test @@ -8,4 +8,4 @@ FileHeader: Type: ET_REL Machine: EM_X86_64 -# CHECK: Cannot remove .shstrtab because it is the section header string table. +# CHECK: Cannot write section header table because section header string table was removed. |