2012-12-08 08:47:36 +08:00
|
|
|
include "llvm/Option/OptParser.td"
|
|
|
|
|
|
|
|
def flavor : Separate<["-"], "flavor">;
|
|
|
|
def target : Separate<["-"], "target">, HelpText<"Target triple to link for">;
|
2013-01-09 06:59:27 +08:00
|
|
|
def mllvm : Separate<["-"], "mllvm">, HelpText<"Options to pass to LLVM">;
|
|
|
|
|
2012-12-08 08:47:36 +08:00
|
|
|
|
|
|
|
def entry : Joined<["--"], "entry=">;
|
|
|
|
def entry_e : Separate<["-"], "e">, Alias<entry>;
|
|
|
|
|
|
|
|
def output : Joined<["--"], "output=">;
|
|
|
|
def output_e : Separate<["-"], "o">, Alias<output>;
|
|
|
|
|
|
|
|
def relocatable : Flag<["--"], "relocatable">;
|
|
|
|
def relocatable_r : Flag<["-"], "r">, Alias<relocatable>;
|
2012-12-10 07:56:26 +08:00
|
|
|
|
2013-02-20 07:05:36 +08:00
|
|
|
def dynamic_linker : Separate<["-"], "dynamic-linker">;
|
|
|
|
|
2012-12-10 07:56:26 +08:00
|
|
|
def OCTOTHORPE_OCTOTHORPE_OCTOTHORPE : Flag<["-"], "###">;
|
2013-01-07 16:00:25 +08:00
|
|
|
|
|
|
|
def emit_yaml : Flag<["-"], "emit-yaml">;
|
2013-01-08 10:12:01 +08:00
|
|
|
|
|
|
|
def m : Separate<["-"], "m">;
|
2013-02-07 14:47:17 +08:00
|
|
|
def z : Separate<["-"], "z">;
|
2013-01-08 10:12:01 +08:00
|
|
|
|
|
|
|
def static : Flag<["-"], "static">;
|
2013-02-07 14:47:17 +08:00
|
|
|
def start_group : Flag<["--"], "start-group">;
|
|
|
|
def end_group : Flag<["--"], "end-group">;
|
|
|
|
def build_id : Flag<["--"], "build-id">;
|
2013-01-08 10:12:01 +08:00
|
|
|
|
|
|
|
def L : Joined<["-"], "L">;
|
2013-02-07 14:47:17 +08:00
|
|
|
def l : Joined<["-"], "l">;
|
|
|
|
def hash_style : Joined <["--"], "hash-style=">;
|
2013-01-11 23:11:47 +08:00
|
|
|
|
|
|
|
def noinhibit_exec : Flag<["--"], "noinhibit-exec">,
|
|
|
|
HelpText<"Retain the executable output file whenever it is still usable">;
|
2013-02-13 14:12:52 +08:00
|
|
|
|
|
|
|
def merge_strings : Flag<["-"], "merge-strings">,
|
|
|
|
HelpText<"Merge common strings across mergeable sections">;
|