2013-10-24 12:23:02 +08:00
|
|
|
include "llvm/Option/OptParser.td"
|
|
|
|
|
|
|
|
// Select an optional flavor
|
|
|
|
def flavor: Separate<["-"], "flavor">,
|
|
|
|
HelpText<"Flavor for linking, options are gnu/darwin/link">;
|
|
|
|
|
|
|
|
// Select the core flavor
|
|
|
|
def core : Flag<["-"], "core">,
|
|
|
|
HelpText<"CORE linking">;
|
|
|
|
|
|
|
|
def target: Separate<["-"], "target">,
|
|
|
|
HelpText<"Select the target">;
|
|
|
|
|
2014-10-08 11:47:51 +08:00
|
|
|
def version: Flag<["-"], "version">,
|
|
|
|
HelpText<"Display the version">;
|
|
|
|
|
2013-10-24 12:23:02 +08:00
|
|
|
// Help message
|
|
|
|
def help : Flag<["-"], "help">,
|
|
|
|
HelpText<"Display this help message">;
|