xref: /freebsd/contrib/llvm-project/llvm/tools/llvm-objcopy/StripOpts.td (revision ec0ea6efa1ad229d75c394c1a9b9cac33af2b1d3)
1include "CommonOpts.td"
2
3def output : JoinedOrSeparate<["-"], "o">, HelpText<"Write output to <file>">,
4             MetaVarName<"<file>">;
5
6def s : Flag<["-"], "s">,
7        Alias<strip_all>,
8        HelpText<"Alias for --strip-all">;
9def no_strip_all : Flag<["--"], "no-strip-all">,
10                   HelpText<"Disable --strip-all">;
11
12def d : Flag<["-"], "d">,
13        Alias<strip_debug>,
14        HelpText<"Alias for --strip-debug">;
15def S : Flag<["-"], "S">,
16        Alias<strip_debug>,
17        HelpText<"Alias for --strip-debug">;
18
19def strip_swift_symbols : Flag<["-"], "T">,
20                          HelpText<"Remove Swift symbols">;
21