Taints relaxed loads to enforce load/store ordering
[oota-llvm.git] / docs / CommandGuide / llvm-lib.rst
1 llvm-lib - LLVM lib.exe compatible library tool
2 ===============================================
3
4
5 SYNOPSIS
6 --------
7
8
9 **llvm-lib** [/libpath:<path>] [/out:<output>] [/llvmlibthin]
10 [/ignore] [/machine] [/nologo] [files...]
11
12
13 DESCRIPTION
14 -----------
15
16
17 The **llvm-lib** command is intended to be a ``lib.exe`` compatible
18 tool. See https://msdn.microsoft.com/en-us/library/7ykb2k5f for the
19 general description.
20
21 **llvm-lib** has the following extensions:
22
23 * Bitcode files in symbol tables.
24   **llvm-lib** includes symbols from both bitcode files and regular
25   object files in the symbol table.
26
27 * Creating thin archives.
28   The /llvmlibthin option causes **llvm-lib** to create thin archive
29   that contain only the symbol table and the header for the various
30   members. These files are much smaller, but are not compatible with
31   link.exe (lld can handle them).