1 include "llvm/Option/OptParser.td"
3 def help : Flag<["-", "--"], "help">;
4 def h : Flag<["-"], "h">, Alias<help>;
6 def version : Flag<["-", "--"], "version">,
7 HelpText<"Print the version and exit.">;
10 : MultiArg<["-", "--"], "segalign", 2>,
11 HelpText<"Specifies the segment alignment for the specified "
12 "architecture when creating a universal binary file. The "
13 "alignment is a hexadecimal number that is a power of 2.">;
15 def action_group : OptionGroup<"action group">;
18 : Option<["-", "--"], "verify_arch", KIND_REMAINING_ARGS>,
21 "Verify that the specified arch_types are present in the input file">;
23 def archs : Option<["-", "--"], "archs", KIND_FLAG>,
25 HelpText<"Display the arch_types present in the input file">;
27 def info : Option<["-", "--"], "info", KIND_FLAG>,
29 HelpText<"Display descriptions of each input file including "
30 "filename and arch_types. Groups universal binaries "
31 "together followed by thin files">;
33 def thin : Option<["-", "--"], "thin", KIND_SEPARATE>,
35 HelpText<"Create a thin output file of specified arch_type from the "
36 "fat input file. Requires -output option">;
38 def create : Option<["-", "--"], "create", KIND_FLAG>,
40 HelpText<"Create a universal binary output file from the input "
41 "files. Requires -output option">;
44 : MultiArg<["-", "--"], "replace", 2>,
46 HelpText<"Replace the specified arch type with the contents of the "
47 "input_file in a universal binary. Requires -output option">;
49 def output : Option<["-", "--"], "output", KIND_SEPARATE>,
50 HelpText<"Create output file with specified name">;
51 def o : JoinedOrSeparate<["-"], "o">, Alias<output>;