LLVM-LINK(1)

okay so bestie, welcome to LLVM-LINK(1), the manual page for the LLVM bitcode linker from LLVM 🫢✨ this one is short, useful, and lowkey iconic.


🌸 NAME 🌸

llvm-link β€” the LLVM bitcode linker, fr fr πŸ’…

✨ SYNOPSIS ✨

llvm-link [options] filename …

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so picture this: llvm-link takes several LLVM bitcode files and links them together into a single LLVM bitcode file πŸŽ€βœ¨ it's giving "bring the whole squad together" energy, no cap.

it writes the output file to standard output, unless the -o option is used to specify a filename πŸ’– so yeah, default vibe is stdout.

πŸ’… OPTIONS πŸ’…

  • -f β€” enables binary output on terminals. normally, llvm-link will refuse to write raw bitcode output if the output stream is a terminal 😀 with this option, llvm-link will write raw bitcode regardless of the output device. dramatic? maybe. useful? yes πŸ’€
  • -o filename β€” specify the output file name. if filename is -, then llvm-link will write its output to standard output 🫢
  • -S β€” write output in LLVM intermediate language (instead of bitcode). cute format switch, iykyk ✨
  • -d β€” if specified, llvm-link prints a human-readable version of the output bitcode file to standard error πŸ‘€
  • -help β€” print a summary of command line options πŸŽ€
  • -v β€” verbose mode. print information about what llvm-link is doing. this typically includes a message for each bitcode file linked in and for each library found 🌈

πŸ”₯ EXIT STATUS πŸ”₯

if llvm-link succeeds, it will exit with 0 βœ… otherwise, if an error occurs, it will exit with a non-zero value 😭 no in-between, bestie, the vibe check is strict.

🫢 AUTHOR 🫢

maintained by the LLVM Team (https://llvm.org/) πŸ‘‘πŸ’–

2003-2023, LLVM Project πŸ¦‹


that's the whole page, bestie πŸ’– from the footer: source/version LLVM, page 15, date 2023-07-14, manual LLVM-LINK(1). mwah πŸ’…βœ¨

πŸ“¦ where this page comes from