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