mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-01-24 01:58:21 +00:00
6d328d3841
Symbol table is now populated correctly, but some fields are missing, they'll be added in the future. This patch also adds --discard-all flag, which was the default behavior until now. Differential Revision: http://reviews.llvm.org/D12874 llvm-svn: 247849
21 lines
684 B
TableGen
21 lines
684 B
TableGen
include "llvm/Option/OptParser.td"
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
/// Utility Functions
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
def output : Separate<["-"], "o">, MetaVarName<"<path>">,
|
|
HelpText<"Path to file to write output">;
|
|
|
|
def dynamic_linker : Separate<["-"], "dynamic-linker">,
|
|
HelpText<"Which dynamic linker to use">;
|
|
|
|
def rpath : Separate<["-"], "rpath">,
|
|
HelpText<"Add a DT_RUNPATH to the output">;
|
|
|
|
def shared : Flag<["-"], "shared">,
|
|
HelpText<"Build a shared object">;
|
|
|
|
def discard_all : Flag<["-"], "discard-all">,
|
|
HelpText<"Delete all local symbols">;
|