blob: 67e4cb751dd968f594ace36a2c3f915b4b696dc4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
|
.\" $FreeBSD$
.TH "LLVM-LINK" "1" "2012-08-16" "3.2" "LLVM"
.SH NAME
llvm-link \- LLVM linker
.
.nr rst2man-indent-level 0
.
.de1 rstReportMargin
\\$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]
..
.de1 INDENT
.\" .rstReportMargin pre:
. RS \\$1
. nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
. nr rst2man-indent-level +1
.\" .rstReportMargin post:
..
.de UNINDENT
. 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]]
.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
..
.\" Man page generated from reStructuredText.
.
.SH SYNOPSIS
.sp
\fBllvm\-link\fP [\fIoptions\fP] \fIfilename ...\fP
.SH DESCRIPTION
.sp
\fBllvm\-link\fP 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 \fB\-o\fP option is used to specify a filename.
.sp
\fBllvm\-link\fP 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\fP 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.
.SH OPTIONS
.sp
\fB\-L\fP \fIdirectory\fP
.INDENT 0.0
.INDENT 3.5
Add the specified \fIdirectory\fP to the library search path. When looking for
libraries, \fBllvm\-link\fP will look in path name for libraries. This option can be
specified multiple times; \fBllvm\-link\fP will search inside these directories in
the order in which they were specified on the command line.
.UNINDENT
.UNINDENT
.sp
\fB\-f\fP
.INDENT 0.0
.INDENT 3.5
Enable binary output on terminals. Normally, \fBllvm\-link\fP will refuse to
write raw bitcode output if the output stream is a terminal. With this option,
\fBllvm\-link\fP will write raw bitcode regardless of the output device.
.UNINDENT
.UNINDENT
.sp
\fB\-o\fP \fIfilename\fP
.INDENT 0.0
.INDENT 3.5
Specify the output file name. If \fIfilename\fP is \fB\-\fP, then \fBllvm\-link\fP will
write its output to standard output.
.UNINDENT
.UNINDENT
.sp
\fB\-S\fP
.INDENT 0.0
.INDENT 3.5
Write output in LLVM intermediate language (instead of bitcode).
.UNINDENT
.UNINDENT
.sp
\fB\-d\fP
.INDENT 0.0
.INDENT 3.5
If specified, \fBllvm\-link\fP prints a human\-readable version of the output
bitcode file to standard error.
.UNINDENT
.UNINDENT
.sp
\fB\-help\fP
.INDENT 0.0
.INDENT 3.5
Print a summary of command line options.
.UNINDENT
.UNINDENT
.sp
\fB\-v\fP
.INDENT 0.0
.INDENT 3.5
Verbose mode. Print information about what \fBllvm\-link\fP is doing. This
typically includes a message for each bitcode file linked in and for each
library found.
.UNINDENT
.UNINDENT
.SH EXIT STATUS
.sp
If \fBllvm\-link\fP succeeds, it will exit with 0. Otherwise, if an error
occurs, it will exit with a non\-zero value.
.SH SEE ALSO
.sp
gccld|gccld
.SH AUTHOR
Maintained by The LLVM Team (http://llvm.org/).
.SH COPYRIGHT
2012, LLVM Project
.\" Generated by docutils manpage writer.
.
|