summaryrefslogtreecommitdiffstats
path: root/llvm/lib/ToolDrivers/llvm-lib/Options.td
diff options
context:
space:
mode:
authorNico Weber <nicolasweber@gmx.de>2019-02-09 17:33:04 +0000
committerNico Weber <nicolasweber@gmx.de>2019-02-09 17:33:04 +0000
commita2f60933e5c90bde4b383b2528ba1c142d920a01 (patch)
tree84650c503cdeee6065b9590a794664868b090b86 /llvm/lib/ToolDrivers/llvm-lib/Options.td
parent7467510453be40019a746aedfff85909776e7e4f (diff)
downloadbcm5719-llvm-a2f60933e5c90bde4b383b2528ba1c142d920a01.tar.gz
bcm5719-llvm-a2f60933e5c90bde4b383b2528ba1c142d920a01.zip
llvm-lib: Implement /list flag
Differential Revision: https://reviews.llvm.org/D57952 llvm-svn: 353620
Diffstat (limited to 'llvm/lib/ToolDrivers/llvm-lib/Options.td')
-rw-r--r--llvm/lib/ToolDrivers/llvm-lib/Options.td3
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/lib/ToolDrivers/llvm-lib/Options.td b/llvm/lib/ToolDrivers/llvm-lib/Options.td
index dd41952b787..4c297f749ed 100644
--- a/llvm/lib/ToolDrivers/llvm-lib/Options.td
+++ b/llvm/lib/ToolDrivers/llvm-lib/Options.td
@@ -10,6 +10,9 @@ class P<string name, string help> :
Joined<["/", "-", "-?"], name#":">, HelpText<help>;
def libpath: P<"libpath", "Object file search path">;
+
+// Can't be called "list" since that's a keyword.
+def lst : F<"list">, HelpText<"List contents of .lib file on stdout">;
def out : P<"out", "Path to file to write output">;
def llvmlibthin : F<"llvmlibthin">,
OpenPOWER on IntegriCloud