1LLVM-LINK(1) LLVM LLVM-LINK(1)
2
3
4
6 llvm-link - LLVM bitcode linker
7
9 llvm-link [options] filename ...
10
12 llvm-link takes several LLVM bitcode files and links them together into
13 a single LLVM bitcode file. It writes the output file to standard out‐
14 put, unless the -o option is used to specify a filename.
15
17 -f Enable binary output on terminals. Normally, llvm-link will
18 refuse to write raw bitcode output if the output stream is a
19 terminal. With this option, llvm-link will write raw bitcode re‐
20 gardless of the output device.
21
22 -o filename
23 Specify the output file name. If filename is "-", then
24 llvm-link will write its output to standard output.
25
26 -S Write output in LLVM intermediate language (instead of bitcode).
27
28 -d If specified, llvm-link prints a human-readable version of the
29 output bitcode file to standard error.
30
31 -help Print a summary of command line options.
32
33 -v Verbose mode. Print information about what llvm-link is doing.
34 This typically includes a message for each bitcode file linked
35 in and for each library found.
36
38 If llvm-link succeeds, it will exit with 0. Otherwise, if an error oc‐
39 curs, it will exit with a non-zero value.
40
42 Maintained by the LLVM Team (https://llvm.org/).
43
45 2003-2023, LLVM Project
46
47
48
49
5016 2023-07-20 LLVM-LINK(1)