LLVM-LINK(1)
okay bestie, welcome to the LLVM-LINK(1) page from the LLVM manual fam β¨ this one is literally about linking bitcode, and yes it ate π
π NAME π
llvm-link β the LLVM bitcode linker π
β¨ SYNOPSIS β¨
bestie, the whole vibe is:
llvm-link [options] filename ...
π¦ DESCRIPTION π¦
okay so llvm-link takes several LLVM bitcode files and links them together into a single LLVM bitcode file. It writes the output file to standard output, unless the -o option is used to specify a filename. slay β¨
π OPTIONS π
-fβ enable binary output on terminals. Normally,llvm-linkwill refuse to write raw bitcode output if the output stream is a terminal. With this option,llvm-linkwill write raw bitcode regardless of the output device. terminal go brrr π-o filenameβ specify the output file name. If filename is-, thenllvm-linkwill write its output to standard output.-Sβ write output in LLVM intermediate language instead of bitcode. cute assembly moment π-dβ if specified,llvm-linkprints a human-readable version of the output bitcode file to standard error. it's giving debug-info realness π--helpβ print a summary of command line options.-vβ verbose mode. Print information about whatllvm-linkis doing. This typically includes a message for each bitcode file linked in and for each library found.--override <filename>β adds the passed-in file to the link and overrides symbols that have already been declared with the definitions in the file that is passed in. This flag can be specified multiple times to have multiple files act as overrides. If a symbol is declared more than twice, the definition from the file declared last takes precedence. last one wins, periodt π--import <function:filename>β specify a function that should be imported from the specified file for linking with ThinLTO. This option can be specified multiple times to import multiple functions.--summary-index <filename>β specify the path to a file containing the module summary index with the results of an earlier ThinLTO link. This option is required when--importis used. no summary index, no import, iykyk π«Ά--internalizeβ internalize the linked symbols.--disable-debug-info-type-mapβ disables the use of a uniquing type map for debug info.--only-neededβ link only needed symbols.--disable-lazy-loadingβ disable lazy module loading.--suppress-warningsβ suppress all linker warnings. shhh bestie π€«--preserve-bc-uselistorderβ preserve the use-list order when writing LLVM bitcode.--preserve-ll-uselistorderβ preserve the use-list order when writing LLVM assembly.--ignore-non-bitcodeβ do not error out when a non-bitcode file is encountered while processing an archive.
π₯ EXIT STATUS π₯
If llvm-link succeeds, it will exit with 0. Otherwise, if an error occurs, it will exit with a non-zero value. iconic behavior, honestly π
π AUTHOR π
Maintained by the LLVM Team (https://llvm.org/). shoutout to the maintainers, fr fr π«Ά
πΈ COPYRIGHT πΈ
2003-2025, LLVM Project
okay that's the whole page bestie π the footer lines up as 19, 2025-01-17, and LLVM-LINK(1) β so this cute lil manual page is dated 2025-01-17 and version 19. mwah π
π¦ where this page comes from
- opensuse-leap 16.0: llvm19 19.1.7-160000.2.2 Β· Apache-2.0 WITH LLVM-exception AND NCSA
- opensuse-leap 16.0: llvm19 19.1.7-160000.2.2 Β· Apache-2.0 WITH LLVM-exception AND NCSA
- opensuse-leap 16.0: llvm19 19.1.7-160000.2.2 Β· Apache-2.0 WITH LLVM-exception AND NCSA
- opensuse-leap 16.0: llvm19 19.1.7-160000.2.2 Β· Apache-2.0 WITH LLVM-exception AND NCSA
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms