LLVM-LIB(1)

πŸ“¦
version 11.1.0 Β· 2 versions
, in fedora 43, fedora 44

πŸ’– LLVM-LIB(1) πŸ’–

okay so bestie, welcome to llvm-lib β€” it's the LLVM version of lib.exe, a lib.exe compatible library tool. yes, that lib.exe. the Windows one. we're doing this. πŸŽ€


✨ SYNOPSIS ✨

llvm-lib [/libpath:<path>] [/out:<output>] [/llvmlibthin] [/ignore]
         [/machine] [/nologo] [files...]

that's the whole vibe right there, she's not complicated πŸ’…


🌸 DESCRIPTION 🌸

so like. the llvm-lib command is meant to be a lib.exe compatible tool. if you want the general description of what that even means, the manpage points you at https://msdn.microsoft.com/en-us/library/7ykb2k5f β€” go read that, it's giving the full context, i'm just here for the LLVM-specific tea 🍡

and here's the thing: llvm-lib has some extensions of its own. little extra slay. let me tell you:

  • Bitcode files in symbol tables. llvm-lib pulls symbols from both bitcode files and regular object files into the symbol table. not just one, not just the other β€” both, periodt πŸ’…
  • Creating thin archives. the /llvmlibthin option makes llvm-lib create a thin archive that contains only the symbol table and the header for the various members. these files are much smaller, which is iconic, but β€” and this is important bestie β€” they are not compatible with link.exe. lld can handle them though, so if you're team lld you're fine 🫢
not me warning you again: thin archives are tiny and cute but link.exe will simply not know her. keep that in mind before you ship πŸ™ˆ

πŸ‘‘ AUTHOR πŸ‘‘

Maintained by the LLVM Team (https://llvm.org/). they're the ones keeping this whole thing alive, we love them for it πŸ’œ


2003-2024, LLVM Project


and that's the whole page bestie, you ate that reading it fr fr ⭐ this was manual page 11, dated 2024-07-18, brought to you by the LLVM project β€” go make some archives, you've got this πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from