view docs/CommandGuide/llvm-lib.rst @ 109:6916f1d3a436

meu
author Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
date Mon, 01 Feb 2016 03:02:03 +0900
parents afa8332a0e37
children c2174574ed3a
line wrap: on
line source

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).