5 llvm-link - LLVM linker
9 llvm-link [options] filename [...]
13 The B<llvm-link> command takes several LLVM bytecode files and links them
14 together into a single LLVM bytecode file. It writes the output file to
15 standard output, unless the B<-o> option is used to specify a filename.
17 The B<llvm-link> command attempts to load the input files from the current
18 directory. If that fails, it looks for each file in each of the directories
19 specified by the B<-L> options on the command line. The library search paths
20 are global; each one is searched for every input file if necessary. The
21 directories are searched in the order they were specified on the command line.
27 =item B<-L> F<directory>
29 Add the specified F<directory> to the library search path. When looking for
30 libraries, B<llvm-link> will look in pathname for libraries. This option can be
31 specified multiple times; B<llvm-link> will search inside these directories in
32 the order in which they were specified on the command line.
36 Overwrite output files. By default, B<llvm-link> will not overwrite an output
37 file if it alreadys exists.
39 =item B<-o> F<filename>
41 Specify the output file name. If F<filename> is C<->, then B<llvm-link> will
42 write its output to standard output.
46 If specified, B<llvm-link> prints a human-readable version of the output
47 bytecode file to standard error.
51 Print a summary of command line options.
55 Verbose mode. Print information about what B<llvm-link> is doing. This
56 typically includes a message for each bytecode file linked in and for each
63 If B<llvm-link> succeeds, it will exit with 0. Otherwise, if an error
64 occurs, it will exit with a non-zero value.
72 Maintained by the LLVM Team (L<http://llvm.cs.uiuc.edu>).