xref: /freebsd/usr.bin/clang/llvm-link/llvm-link.1 (revision 145992504973bd16cf3518af9ba5ce185fefa82a)
$FreeBSD$
"LLVM-LINK" "1" "2012-08-16" "3.2" "LLVM"
NAME
llvm-link - LLVM linker . .nr rst2man-indent-level 0 . \\$1 \\n[an-margin] level \\n[rst2man-indent-level] level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] - \\n[rst2man-indent0] \\n[rst2man-indent1] \\n[rst2man-indent2] .. .rstReportMargin pre:
. RS \\$1 . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin] . nr rst2man-indent-level +1 .rstReportMargin post:
.. . RE indent \\n[an-margin]
old: \\n[rst2man-indent\\n[rst2man-indent-level]]
.nr rst2man-indent-level -1 new: \\n[rst2man-indent\\n[rst2man-indent-level]]
.. Man page generated from reStructuredText.
.
SYNOPSIS
llvm-link [options] filename ...
DESCRIPTION
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. llvm-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 -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
-L directory NDENT 0.0 NDENT 3.5 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. NINDENT NINDENT -f NDENT 0.0 NDENT 3.5 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, llvm-link will write raw bitcode regardless of the output device. NINDENT NINDENT -o filename NDENT 0.0 NDENT 3.5 Specify the output file name. If filename is -, then llvm-link will write its output to standard output. NINDENT NINDENT -S NDENT 0.0 NDENT 3.5 Write output in LLVM intermediate language (instead of bitcode). NINDENT NINDENT -d NDENT 0.0 NDENT 3.5 If specified, llvm-link prints a human-readable version of the output bitcode file to standard error. NINDENT NINDENT -help NDENT 0.0 NDENT 3.5 Print a summary of command line options. NINDENT NINDENT -v NDENT 0.0 NDENT 3.5 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. NINDENT NINDENT
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
gccld|gccld
AUTHOR
Maintained by The LLVM Team (http://llvm.org/).
COPYRIGHT
2012, LLVM Project Generated by docutils manpage writer.
.