summaryrefslogtreecommitdiff
path: root/llvm/tools/llvm-objcopy/StripOpts.td
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/tools/llvm-objcopy/StripOpts.td')
-rw-r--r--llvm/tools/llvm-objcopy/StripOpts.td17
1 files changed, 17 insertions, 0 deletions
diff --git a/llvm/tools/llvm-objcopy/StripOpts.td b/llvm/tools/llvm-objcopy/StripOpts.td
new file mode 100644
index 000000000000..cd02cffae673
--- /dev/null
+++ b/llvm/tools/llvm-objcopy/StripOpts.td
@@ -0,0 +1,17 @@
+include "CommonOpts.td"
+
+def output : JoinedOrSeparate<["-"], "o">, HelpText<"Write output to <file>">,
+ MetaVarName<"<file>">;
+
+def s : Flag<["-"], "s">,
+ Alias<strip_all>,
+ HelpText<"Alias for --strip-all">;
+def no_strip_all : Flag<["--"], "no-strip-all">,
+ HelpText<"Disable --strip-all">;
+
+def d : Flag<["-"], "d">,
+ Alias<strip_debug>,
+ HelpText<"Alias for --strip-debug">;
+def S : Flag<["-"], "S">,
+ Alias<strip_debug>,
+ HelpText<"Alias for --strip-debug">;