[llvm] r242557 - Start adding documentation for llvm-lib.
Rafael Espindola
rafael.espindola at gmail.com
Fri Jul 17 11:49:27 PDT 2015
Author: rafael
Date: Fri Jul 17 13:49:26 2015
New Revision: 242557
URL: http://llvm.org/viewvc/llvm-project?rev=242557&view=rev
Log:
Start adding documentation for llvm-lib.
Added:
llvm/trunk/docs/CommandGuide/llvm-lib.rst
Modified:
llvm/trunk/docs/CommandGuide/index.rst
Modified: llvm/trunk/docs/CommandGuide/index.rst
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/docs/CommandGuide/index.rst?rev=242557&r1=242556&r2=242557&view=diff
==============================================================================
--- llvm/trunk/docs/CommandGuide/index.rst (original)
+++ llvm/trunk/docs/CommandGuide/index.rst Fri Jul 17 13:49:26 2015
@@ -21,6 +21,7 @@ Basic Commands
lli
llvm-link
llvm-ar
+ llvm-lib
llvm-nm
llvm-config
llvm-diff
Added: llvm/trunk/docs/CommandGuide/llvm-lib.rst
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/docs/CommandGuide/llvm-lib.rst?rev=242557&view=auto
==============================================================================
--- llvm/trunk/docs/CommandGuide/llvm-lib.rst (added)
+++ llvm/trunk/docs/CommandGuide/llvm-lib.rst Fri Jul 17 13:49:26 2015
@@ -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).
More information about the llvm-commits
mailing list