summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-objcopy/llvm-objcopy.cpp
diff options
context:
space:
mode:
authorStephen Hines <srhines@google.com>2018-07-12 17:42:17 +0000
committerStephen Hines <srhines@google.com>2018-07-12 17:42:17 +0000
commite8c3c5fe5d04e890b3ebbf12eefc8d8f14e96438 (patch)
tree30771cbf18e85256b7be6357dfd907bcd3ebba80 /llvm/tools/llvm-objcopy/llvm-objcopy.cpp
parent773c7c4b6e82921b06f4622158f9fcf3e4a44bd2 (diff)
downloadbcm5719-llvm-e8c3c5fe5d04e890b3ebbf12eefc8d8f14e96438.tar.gz
bcm5719-llvm-e8c3c5fe5d04e890b3ebbf12eefc8d8f14e96438.zip
Add --strip-all option back to llvm-strip.
Summary: This option appears to have been dropped as part of the refactoring in r331663. Unfortunately, if we want to use llvm-strip as a drop-in replacement for strip, this option should still be available. Reviewers: alexshap Reviewed By: alexshap Subscribers: meikeb, kongyi, chh, jakehehrlich, llvm-commits, pirama Differential Revision: https://reviews.llvm.org/D49226 llvm-svn: 336921
Diffstat (limited to 'llvm/tools/llvm-objcopy/llvm-objcopy.cpp')
-rw-r--r--llvm/tools/llvm-objcopy/llvm-objcopy.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/tools/llvm-objcopy/llvm-objcopy.cpp b/llvm/tools/llvm-objcopy/llvm-objcopy.cpp
index c28862f073a..a4936ddfa4a 100644
--- a/llvm/tools/llvm-objcopy/llvm-objcopy.cpp
+++ b/llvm/tools/llvm-objcopy/llvm-objcopy.cpp
@@ -655,6 +655,7 @@ CopyConfig ParseStripOptions(ArrayRef<const char *> ArgsArr) {
Config.DiscardAll = InputArgs.hasArg(STRIP_discard_all);
Config.StripUnneeded = InputArgs.hasArg(STRIP_strip_unneeded);
+ Config.StripAll = InputArgs.hasArg(STRIP_strip_all);
if (!Config.StripDebug && !Config.StripUnneeded && !Config.DiscardAll)
Config.StripAll = true;
OpenPOWER on IntegriCloud