include "llvm/Option/OptParser.td" class F : Flag<["-"], letter>, HelpText; class FF : Flag<["--"], name>, HelpText; multiclass Eq { def NAME #_EQ : Joined<["--"], name #"=">, HelpText; def : Separate<["--"], name>, Alias(NAME #_EQ)>; } def common : FF<"common", "Print common symbols in the ELF file. When using Berkeley format, this is added to bss">; defm format : Eq<"format", "Specify output format">; def help : FF<"help", "Display this help">; defm radix : Eq<"radix", "Print size in radix">; def totals : FF<"totals", "Print totals of all objects - Berkeley format only">; def version : FF<"version", "Display the version">; // Mach-O specific options. def grp_mach_o : OptionGroup<"kind">, HelpText<"OPTIONS (Mach-O specific)">; def arch_EQ : Joined<["--"], "arch=">, HelpText<"architecture(s) from a Mach-O file to dump">, Group; def : Separate<["--", "-"], "arch">, Alias; def l : F<"l", "When format is darwin, use long format to include addresses and offsets">, Group; def : F<"A", "Alias for --format">, Alias, AliasArgs<["sysv"]>; def : F<"B", "Alias for --format">, Alias, AliasArgs<["berkeley"]>; def : F<"d", "Alias for --radix=10">, Alias, AliasArgs<["10"]>; def : F<"h", "Alias for --help">, Alias; def : F<"m", "Alias for --format">, Alias, AliasArgs<["darwin"]>; def : F<"o", "Alias for --radix=8">, Alias, AliasArgs<["8"]>; def : F<"t", "Alias for --totals">, Alias; def : F<"x", "Alias for --radix=16">, Alias, AliasArgs<["16"]>;