2 .TH "LLVM-LINK" "1" "2012-08-16" "3.2" "LLVM"
4 llvm-link \- LLVM linker
6 .nr rst2man-indent-level 0
10 level \\n[rst2man-indent-level]
11 level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
18 .\" .rstReportMargin pre:
20 . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
21 . nr rst2man-indent-level +1
22 .\" .rstReportMargin post:
26 .\" indent \\n[an-margin]
27 .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
28 .nr rst2man-indent-level -1
29 .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
30 .in \\n[rst2man-indent\\n[rst2man-indent-level]]u
32 .\" Man page generated from reStructuredText.
36 \fBllvm\-link\fP [\fIoptions\fP] \fIfilename ...\fP
39 \fBllvm\-link\fP takes several LLVM bitcode files and links them together into a
40 single LLVM bitcode file. It writes the output file to standard output, unless
41 the \fB\-o\fP option is used to specify a filename.
43 \fBllvm\-link\fP attempts to load the input files from the current directory. If
44 that fails, it looks for each file in each of the directories specified by the
45 \fB\-L\fP options on the command line. The library search paths are global; each
46 one is searched for every input file if necessary. The directories are searched
47 in the order they were specified on the command line.
50 \fB\-L\fP \fIdirectory\fP
53 Add the specified \fIdirectory\fP to the library search path. When looking for
54 libraries, \fBllvm\-link\fP will look in path name for libraries. This option can be
55 specified multiple times; \fBllvm\-link\fP will search inside these directories in
56 the order in which they were specified on the command line.
63 Enable binary output on terminals. Normally, \fBllvm\-link\fP will refuse to
64 write raw bitcode output if the output stream is a terminal. With this option,
65 \fBllvm\-link\fP will write raw bitcode regardless of the output device.
69 \fB\-o\fP \fIfilename\fP
72 Specify the output file name. If \fIfilename\fP is \fB\-\fP, then \fBllvm\-link\fP will
73 write its output to standard output.
80 Write output in LLVM intermediate language (instead of bitcode).
87 If specified, \fBllvm\-link\fP prints a human\-readable version of the output
88 bitcode file to standard error.
95 Print a summary of command line options.
102 Verbose mode. Print information about what \fBllvm\-link\fP is doing. This
103 typically includes a message for each bitcode file linked in and for each
109 If \fBllvm\-link\fP succeeds, it will exit with 0. Otherwise, if an error
110 occurs, it will exit with a non\-zero value.
115 Maintained by The LLVM Team (http://llvm.org/).
118 .\" Generated by docutils manpage writer.