xref: /freebsd/usr.bin/clang/llvm-link/llvm-link.1 (revision 3ef51c5fb9163f2aafb1c14729e06a8bf0c4d113)
$FreeBSD$
Automatically generated by Pod::Man 2.23 (Pod::Simple 3.14)

Standard preamble:
========================================================================
..
..
.. Set up some character translations and predefined strings. \*(-- will
give an unbreakable dash, \*(PI will give pi, \*(L" will give a left
double quote, and \*(R" will give a right double quote. \*(C+ will
give a nicer C++. Capital omega is used to do unbreakable dashes and
therefore won't be available. \*(C` and \*(C' expand to `' in nroff,
nothing in troff, for use with C<>.
.tr \(*W- . ds -- \(*W- . ds PI pi . if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch . if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch . ds L" "" . ds R" "" . ds C` "" . ds C' "" 'br\} . ds -- \|\(em\| . ds PI \(*p . ds L" `` . ds R" '' 'br\}
Escape single quotes in literal strings from groff's Unicode transform.

If the F register is turned on, we'll generate index entries on stderr for
titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index
entries marked with X<> in POD. Of course, you'll have to process the
output yourself in some meaningful fashion.
. de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . nr % 0 . rr F .\} . de IX .. .\}
Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2).
Fear. Run. Save yourself. No user-serviceable parts.
. \" fudge factors for nroff and troff . ds #H 0 . ds #V .8m . ds #F .3m . ds #[ \f1 . ds #] .\} . ds #H ((1u-(\\\\n(.fu%2u))*.13m) . ds #V .6m . ds #F 0 . ds #[ \& . ds #] \& .\} . \" simple accents for nroff and troff . ds ' \& . ds ` \& . ds ^ \& . ds , \& . ds ~ ~ . ds / .\} . ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u" . ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u' . ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u' . ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u' . ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u' . ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u' .\} . \" troff and (daisy-wheel) nroff accents . \" corrections for vroff . \" for low resolution devices (crt and lpr) \{\ . ds : e . ds 8 ss . ds o a . ds d- d\h'-1'\(ga . ds D- D\h'-1'\(hy . ds th \o'bp' . ds Th \o'LP' . ds ae ae . ds Ae AE .\} ========================================================================

Title "LLVM-LINK 1"
LLVM-LINK 1 "2011-10-17" "LLVM 3.0" "LLVM Command Guide"
For nroff, turn off justification. Always turn off hyphenation; it makes
way too many mistakes in technical documents.
"NAME"
llvm-link - LLVM linker
"SYNOPSIS"
Header "SYNOPSIS" \fBllvm-link [options] filename ...
"DESCRIPTION"
Header "DESCRIPTION" \fBllvm-link takes several \s-1LLVM\s0 bitcode files and links them together into a single \s-1LLVM\s0 bitcode file. It writes the output file to standard output, unless the -o option is used to specify a filename.

\fBllvm-link attempts to load the input files from the current directory. If that fails, it looks for each file in each of the directories specified by the \fB-L options on the command line. The library search paths are global; each one is searched for every input file if necessary. The directories are searched in the order they were specified on the command line.

"OPTIONS"
Header "OPTIONS"
"-L directory" 4
Item "-L directory" Add the specified directory to the library search path. When looking for libraries, llvm-link will look in path name for libraries. This option can be specified multiple times; llvm-link will search inside these directories in the order in which they were specified on the command line.
"-f" 4
Item "-f" Enable binary output on terminals. Normally, llvm-link will refuse to write raw bitcode output if the output stream is a terminal. With this option, \fBllvm-link will write raw bitcode regardless of the output device.
"-o filename" 4
Item "-o filename" Specify the output file name. If filename is \*(C`-\*(C', then llvm-link will write its output to standard output.
"-S" 4
Item "-S" Write output in \s-1LLVM\s0 intermediate language (instead of bitcode).
"-d" 4
Item "-d" If specified, llvm-link prints a human-readable version of the output bitcode file to standard error.
"-help" 4
Item "-help" Print a summary of command line options.
"-v" 4
Item "-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"
Header "EXIT STATUS" If llvm-link succeeds, it will exit with 0. Otherwise, if an error occurs, it will exit with a non-zero value.
"SEE ALSO"
Header "SEE ALSO" gccld
"AUTHORS"
Header "AUTHORS" Maintained by the \s-1LLVM\s0 Team (<http://llvm.org/>).