Files
archived-llvm/tools/llvm-objcopy/StripOpts.td
Michael Pozulp 808e1a5000 [llvm-objcopy] Move duplicate tablegen from objcopy and strip into one file
Summary: This avoids maintaining the same options in two different places.

Reviewers: jhenderson, alexshap, rupprecht, MaskRay

Reviewed By: jhenderson, rupprecht, MaskRay

Subscribers: MaskRay, wolfgangp, jakehehrlich, abrachet, llvm-commits

Tags: #llvm

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@368961 91177308-0d34-0410-b5e6-96231b3b80d8
2019-08-15 04:45:41 +00:00

18 lines
536 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">;