LLVM-LINK(1)

πŸ“¦
version 12.0.1 Β· 4 versions
, in fedora 43, fedora 44

okay bestie, pull up a chair, we're talking about llvm-link from the LLVM manual β€” yes, the big one, page one of the LLVM section, and honestly? she's iconic.


✨ NAME ✨

llvm-link β€” the LLVM bitcode linker πŸ¦‹


✨ SYNOPSIS ✨

llvm-link [options] filename ...

✨ DESCRIPTION ✨

so basically llvm-link takes a whole lil friend group of LLVM bitcode files and links them together into one single LLVM bitcode file. like, they're all holding hands now. one file. periodt.

and where does it put that file? standard output, bestie. that's the default. unless you use the -o option to name a filename β€” then she writes it there instead. the way that she just knows where to go πŸ’…


✨ OPTIONS ✨

  • -f β€” okay so, this one enables binary output on terminals. normally llvm-link is like "absolutely not, i am NOT writing raw bitcode to a terminal, that's unhinged" and she refuses if the output stream is a terminal. with -f? she writes raw bitcode regardless of the output device. no vibe check, no hesitation. πŸ™ˆ
  • -o filename β€” specify the output file name. and 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 era. ✨
  • -d β€” if you specify this, llvm-link prints a human-readable version of the output bitcode file to standard error. so you can peek at what she made. πŸ‘‘
  • -help β€” print a summary of command line options. your little cheat sheet, fr fr.
  • -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. she's narrating her own main character arc 🌸

✨ EXIT STATUS ✨

if llvm-link succeeds, she exits with 0. if an error occurs, she exits with a non-zero value. that's it, that's the whole mood. 😭


✨ AUTHOR ✨

Maintained by the LLVM Team (https://llvm.org/). slay πŸ’œ


2003-2024, LLVM Project


okay that's the whole page, bestie!! no cap, you're officially a llvm-link girlie now. this was the LLVM manual, dated 2024-07-18, and it's giving page 12 energy. go link some bitcode, you absolute icon πŸ’–πŸ¦‹βœ¨πŸŒˆπŸ‘‘

πŸ“¦ where this page comes from