llvm-project/lld/lib/Driver/CoreOptions.td
Michael J. Spencer be03e2a861 [Core,Driver,ELF] Differentiate static and dynamic executables.
This also adds a simple relocation change for dynamic executables to
x86-64 ELF.

llvm-svn: 175208
2013-02-14 20:32:00 +00:00

23 lines
846 B
TableGen

include "llvm/Option/OptParser.td"
def core : Flag<["-"], "core">;
def flavor : Separate<["-"], "flavor">;
def target : Separate<["-"], "target">, HelpText<"Target triple to link for">;
def mllvm : Separate<["-"], "mllvm">, HelpText<"Options to pass to LLVM">;
def output : Joined<["-"], "output=">;
def entry : Joined<["-"], "entry=">;
def input_search_path : Joined<["-"], "input-search-path=">;
def output_type : Joined<["-"], "output-type=">;
def relocatable : Flag<["-"], "relocatable">;
def OCTOTHORPE_OCTOTHORPE_OCTOTHORPE : Flag<["-"], "###">;
def emit_yaml : Flag<["-"], "emit-yaml">;
def noinhibit_exec : Flag<["-"], "noinhibit-exec">,
HelpText<"Retain the executable output file whenever it is still usable">;
def merge_strings : Flag<["-"], "merge-strings">,
HelpText<"Merge common strings across mergeable sections">;