blob: 87687be785fa30e48c939c65884afbd239e0f840 [file] [log] [blame]
Rafael Espindola3116f6e2015-07-17 18:49:26 +00001llvm-lib - LLVM lib.exe compatible library tool
2===============================================
3
James Hendersona0566842019-06-27 13:24:46 +00004.. program:: llvm-lib
Rafael Espindola3116f6e2015-07-17 18:49:26 +00005
6SYNOPSIS
7--------
8
9
10**llvm-lib** [/libpath:<path>] [/out:<output>] [/llvmlibthin]
11[/ignore] [/machine] [/nologo] [files...]
12
13
14DESCRIPTION
15-----------
16
17
18The **llvm-lib** command is intended to be a ``lib.exe`` compatible
19tool. See https://msdn.microsoft.com/en-us/library/7ykb2k5f for the
20general description.
21
22**llvm-lib** has the following extensions:
23
24* Bitcode files in symbol tables.
25 **llvm-lib** includes symbols from both bitcode files and regular
26 object files in the symbol table.
27
28* Creating thin archives.
29 The /llvmlibthin option causes **llvm-lib** to create thin archive
30 that contain only the symbol table and the header for the various
31 members. These files are much smaller, but are not compatible with
32 link.exe (lld can handle them).