LLVM-LINK(1)

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

okay so welcome to llvm-link(1), from the LLVM manual set β€” yes the real one, section 1, we're doing this 🫢


🌸 NAME 🌸

llvm-link β€” the LLVM bitcode linker. that's it. that's the whole vibe. it links bitcode. iconic behavior honestly πŸ‘‘


πŸ¦‹ SYNOPSIS πŸ¦‹

llvm-link [options] filename ...

literally just options and then a whole stack of filenames, no cap ✨


πŸ’– DESCRIPTION πŸ’–

so here's the tea: llvm-link takes several LLVM bitcode files and links them together into a single LLVM bitcode file. that's the entire job. that's her main character moment 🌈

and where does the output go? standard output, bestie. unless you use the -o option to name a file β€” then it goes there instead. iykyk πŸ’«


πŸŽ€ OPTIONS πŸŽ€

  • -f β€” turns on binary output on terminals πŸ–₯️. normally llvm-link will refuse to write raw bitcode output if the output stream is a terminal (she's got boundaries, respect them πŸ™ˆ). with this option, llvm-link writes raw bitcode regardless of the output device. no vibe check, just bytes πŸ’€
  • -o filename β€” names the output file, periodt ✍️. and listen: if filename is -, then llvm-link writes its output to standard output. cute, right?
  • -S β€” write the output in LLVM intermediate language instead of bitcode 🧚. human-readable-ish queen.
  • -d β€” if you specify this, llvm-link prints a human-readable version of the output bitcode file to standard error πŸ‘€. like a little behind-the-scenes peek.
  • -help β€” prints a summary of the command line options 🌸. when you're lost, she's got you.
  • -v β€” verbose mode, bestie πŸ—£οΈ. prints info about what llvm-link is doing. this typically includes a message for each bitcode file linked in and for each library found. so much lore.

⭐ EXIT STATUS ⭐

if llvm-link succeeds, it exits with 0 πŸŽ‰. otherwise, if an error occurs, it exits with a non-zero value 😭. that's the whole story.


πŸ‘‘ AUTHOR πŸ‘‘

maintained by the LLVM Team (<https://llvm.org/>) β€” yeah, the whole team. we love a group effort πŸ’œ


2003-2024, LLVM Project β€” long-running icon behavior, fr fr ✨


and that's the page!! this was page 11 of the LLVM-LINK(1) manual, dated 2024-07-18, from the LLVM set πŸ¦‹ thanks for reading, mwah πŸ’…

πŸ“¦ where this page comes from