summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2015-07-17 18:49:26 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2015-07-17 18:49:26 +0000
commit3116f6eb8675a9b95e6577dc9522fbb3b3651cd7 (patch)
tree4d91276e1db88bd6dbbd16b0c3a6d934c48e71ac
parentf219885fb552094e10f6b0a872cabdc6358deb45 (diff)
downloadbcm5719-llvm-3116f6eb8675a9b95e6577dc9522fbb3b3651cd7.tar.gz
bcm5719-llvm-3116f6eb8675a9b95e6577dc9522fbb3b3651cd7.zip
Start adding documentation for llvm-lib.
llvm-svn: 242557
-rw-r--r--llvm/docs/CommandGuide/index.rst1
-rw-r--r--llvm/docs/CommandGuide/llvm-lib.rst31
2 files changed, 32 insertions, 0 deletions
diff --git a/llvm/docs/CommandGuide/index.rst b/llvm/docs/CommandGuide/index.rst
index ed18cd048aa..46db57f1c84 100644
--- a/llvm/docs/CommandGuide/index.rst
+++ b/llvm/docs/CommandGuide/index.rst
@@ -21,6 +21,7 @@ Basic Commands
lli
llvm-link
llvm-ar
+ llvm-lib
llvm-nm
llvm-config
llvm-diff
diff --git a/llvm/docs/CommandGuide/llvm-lib.rst b/llvm/docs/CommandGuide/llvm-lib.rst
new file mode 100644
index 00000000000..ecd0a7db7e3
--- /dev/null
+++ b/llvm/docs/CommandGuide/llvm-lib.rst
@@ -0,0 +1,31 @@
+llvm-lib - LLVM lib.exe compatible library tool
+===============================================
+
+
+SYNOPSIS
+--------
+
+
+**llvm-lib** [/libpath:<path>] [/out:<output>] [/llvmlibthin]
+[/ignore] [/machine] [/nologo] [files...]
+
+
+DESCRIPTION
+-----------
+
+
+The **llvm-lib** command is intended to be a ``lib.exe`` compatible
+tool. See https://msdn.microsoft.com/en-us/library/7ykb2k5f for the
+general description.
+
+**llvm-lib** has the following extensions:
+
+* Bitcode files in symbol tables.
+ **llvm-lib** includes symbols from both bitcode files and regular
+ object files in the symbol table.
+
+* Creating thin archives.
+ The /llvmlibthin option causes **llvm-lib** to create thin archive
+ that contain only the symbol table and the header for the various
+ members. These files are much smaller, but are not compatible with
+ link.exe (lld can handle them).
OpenPOWER on IntegriCloud