mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 10:42:39 +01:00
372d313844
cctools strip has the option "-T" which removes Swift symbols. This diff implements this option in llvm-strip for MachO. Test plan: make check-all Differential revision: https://reviews.llvm.org/D80099
21 lines
641 B
TableGen
21 lines
641 B
TableGen
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">;
|
|
|
|
def strip_swift_symbols : Flag<["-"], "T">,
|
|
HelpText<"Remove Swift symbols">;
|