summaryrefslogtreecommitdiffstats
path: root/llvm/lib/ToolDrivers/llvm-lib/Options.td
diff options
context:
space:
mode:
authorNico Weber <nicolasweber@gmx.de>2018-07-14 02:29:44 +0000
committerNico Weber <nicolasweber@gmx.de>2018-07-14 02:29:44 +0000
commit17172c6b80f95a718b90942840eb042874a037f0 (patch)
tree398d3bc6e6589c497258fa836b5d9371b3e9b0cd /llvm/lib/ToolDrivers/llvm-lib/Options.td
parentf0b164415c383be9d20031d52cf5db9ae71cded8 (diff)
downloadbcm5719-llvm-17172c6b80f95a718b90942840eb042874a037f0.tar.gz
bcm5719-llvm-17172c6b80f95a718b90942840eb042874a037f0.zip
Give llvm-lib rudimentary help output.
https://reviews.llvm.org/D49318 llvm-svn: 337084
Diffstat (limited to 'llvm/lib/ToolDrivers/llvm-lib/Options.td')
-rw-r--r--llvm/lib/ToolDrivers/llvm-lib/Options.td6
1 files changed, 5 insertions, 1 deletions
diff --git a/llvm/lib/ToolDrivers/llvm-lib/Options.td b/llvm/lib/ToolDrivers/llvm-lib/Options.td
index 5a56ef7468d..dd41952b787 100644
--- a/llvm/lib/ToolDrivers/llvm-lib/Options.td
+++ b/llvm/lib/ToolDrivers/llvm-lib/Options.td
@@ -12,7 +12,11 @@ class P<string name, string help> :
def libpath: P<"libpath", "Object file search path">;
def out : P<"out", "Path to file to write output">;
-def llvmlibthin : F<"llvmlibthin">;
+def llvmlibthin : F<"llvmlibthin">,
+ HelpText<"Make .lib point to .obj files instead of copying their contents">;
+
+def help : F<"help">;
+def help_q : Flag<["/?", "-?"], "">, Alias<help>;
//==============================================================================
// The flags below do nothing. They are defined only for lib.exe compatibility.
OpenPOWER on IntegriCloud