2015-07-24 21:03:07 +00:00
|
|
|
include "llvm/Option/OptParser.td"
|
|
|
|
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
/// Utility Functions
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
|
|
|
def output : Separate<["-"], "o">, MetaVarName<"<path>">,
|
|
|
|
HelpText<"Path to file to write output">;
|
2015-09-11 18:49:42 +00:00
|
|
|
|
|
|
|
def dynamic_linker : Separate<["-"], "dynamic-linker">,
|
|
|
|
HelpText<"Which dynamic linker to use">;
|
2015-09-11 21:18:56 +00:00
|
|
|
|
|
|
|
def rpath : Separate<["-"], "rpath">,
|
2015-09-11 21:26:42 +00:00
|
|
|
HelpText<"Add a DT_RUNPATH to the output">;
|
2015-09-11 22:42:45 +00:00
|
|
|
|
|
|
|
def shared : Flag<["-"], "shared">,
|
|
|
|
HelpText<"Build a shared object">;
|
2015-09-16 20:45:57 +00:00
|
|
|
|
|
|
|
def discard_all : Flag<["-"], "discard-all">,
|
|
|
|
HelpText<"Delete all local symbols">;
|