Files
llvm/test/tools/llvm-objcopy/dynsym-error-remove-strtab.test
Jake Ehrlich 0ef99ca294 [llvm-objcopy] Add support for removing sections
This change adds support for removing sections using the -R field (as
GNU objcopy does as well). This change should let us add many helpful
tests and is a proper stepping stone for adding more general kinds of
stripping.

Differential Revision: https://reviews.llvm.org/D38260

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@315346 91177308-0d34-0410-b5e6-96231b3b80d8
2017-10-10 18:47:09 +00:00

4 lines
186 B
Plaintext

# RUN: not llvm-objcopy -R .dynstr %p/Inputs/dynsym.so %t 2>&1 >/dev/null | FileCheck %s
# CHECK: String table .dynstr cannot be removed because it is referenced by the section .dynsym