llvm-lib.rst 857 B

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