1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
5 | %general-entities;
|
---|
6 |
|
---|
7 | <!ENTITY llvm-download-http "http://llvm.org/releases/&llvm-version;/llvm-&llvm-version;.src.tar.xz">
|
---|
8 | <!ENTITY llvm-download-ftp " ">
|
---|
9 | <!ENTITY llvm-md5sum "bf8b3a2c79e61212c5409041dfdbd319">
|
---|
10 | <!ENTITY llvm-size "14 MB">
|
---|
11 | <!ENTITY llvm-buildsize "1.6 GB (with Clang and tests)">
|
---|
12 | <!ENTITY llvm-time "13 SBU (with Clang, tests and parallelism = 4)">
|
---|
13 |
|
---|
14 | <!ENTITY clang-download-http "http://llvm.org/releases/&llvm-version;/cfe-&llvm-version;.src.tar.xz">
|
---|
15 | <!ENTITY clang-md5sum "0acd026b5529164197563d135a8fd83e">
|
---|
16 | <!ENTITY clang-size " 8.7 MB">
|
---|
17 |
|
---|
18 | <!ENTITY rt-version "&llvm-version;">
|
---|
19 | <!ENTITY compiler-rt-download-http "http://llvm.org/releases/&rt-version;/compiler-rt-&rt-version;.src.tar.xz">
|
---|
20 | <!ENTITY compiler-rt-md5sum "1c6975daf30bb3b0473b53c3a1a6ff01">
|
---|
21 | <!ENTITY compiler-rt-size "1.2 MB">
|
---|
22 | ]>
|
---|
23 |
|
---|
24 | <sect1 id="llvm" xreflabel="LLVM-&llvm-version;">
|
---|
25 | <?dbhtml filename="llvm.html" ?>
|
---|
26 |
|
---|
27 | <sect1info>
|
---|
28 | <othername>$LastChangedBy$</othername>
|
---|
29 | <date>$Date$</date>
|
---|
30 | </sect1info>
|
---|
31 |
|
---|
32 | <title>LLVM-&llvm-version;</title>
|
---|
33 |
|
---|
34 | <indexterm zone="llvm">
|
---|
35 | <primary sortas="a-LLVM">LLVM</primary>
|
---|
36 | </indexterm>
|
---|
37 |
|
---|
38 | <sect2 role="package">
|
---|
39 | <title>Introduction to LLVM</title>
|
---|
40 |
|
---|
41 | <para>
|
---|
42 | The <application>LLVM</application> package contains a collection of
|
---|
43 | modular and reusable compiler and toolchain technologies. The Low Level
|
---|
44 | Virtual Machine (LLVM) Core libraries provide a modern source and
|
---|
45 | target-independent optimizer, along with code generation support for many
|
---|
46 | popular CPUs (as well as some less common ones!). These libraries are
|
---|
47 | built around a well specified code representation known as the LLVM
|
---|
48 | intermediate representation ("LLVM IR").
|
---|
49 | </para>
|
---|
50 |
|
---|
51 | <para>
|
---|
52 | The optional <application>Clang</application> and <application>Compiler
|
---|
53 | RT</application> packages provide a new C, C++, Objective C and Objective
|
---|
54 | C++ front-ends and runtime libraries for the
|
---|
55 | <application>LLVM</application>.
|
---|
56 | </para>
|
---|
57 |
|
---|
58 | <note>
|
---|
59 | <para>
|
---|
60 | This package hits a bug in GCC-4.9.0 or an unpatched GCC-4.9.1.
|
---|
61 | To build this package, GCC needs to be updated if you have one of
|
---|
62 | these versions. See <xref linkend="gcc"/>
|
---|
63 | for <application>gcc</application> installation instructions.
|
---|
64 | </para>
|
---|
65 | </note>
|
---|
66 |
|
---|
67 | &lfs78_checked;
|
---|
68 |
|
---|
69 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
70 | <itemizedlist spacing="compact">
|
---|
71 | <listitem>
|
---|
72 | <para>
|
---|
73 | Download (HTTP): <ulink url="&llvm-download-http;"/>
|
---|
74 | </para>
|
---|
75 | </listitem>
|
---|
76 | <listitem>
|
---|
77 | <para>
|
---|
78 | Download (FTP): <ulink url="&llvm-download-ftp;"/>
|
---|
79 | </para>
|
---|
80 | </listitem>
|
---|
81 | <listitem>
|
---|
82 | <para>
|
---|
83 | Download MD5 sum: &llvm-md5sum;
|
---|
84 | </para>
|
---|
85 | </listitem>
|
---|
86 | <listitem>
|
---|
87 | <para>
|
---|
88 | Download size: &llvm-size;
|
---|
89 | </para>
|
---|
90 | </listitem>
|
---|
91 | <listitem>
|
---|
92 | <para>
|
---|
93 | Estimated disk space required: &llvm-buildsize;
|
---|
94 | </para>
|
---|
95 | </listitem>
|
---|
96 | <listitem>
|
---|
97 | <para>
|
---|
98 | Estimated build time: &llvm-time;
|
---|
99 | </para>
|
---|
100 | </listitem>
|
---|
101 | </itemizedlist>
|
---|
102 |
|
---|
103 | <bridgehead renderas="sect3">Optional Downloads</bridgehead>
|
---|
104 |
|
---|
105 | <bridgehead renderas="sect4">Clang</bridgehead>
|
---|
106 | <itemizedlist spacing="compact">
|
---|
107 | <listitem>
|
---|
108 | <para>
|
---|
109 | Download: <ulink url="&clang-download-http;"/>
|
---|
110 | </para>
|
---|
111 | </listitem>
|
---|
112 | <listitem>
|
---|
113 | <para>
|
---|
114 | Download MD5 sum: &clang-md5sum;
|
---|
115 | </para>
|
---|
116 | </listitem>
|
---|
117 | <listitem>
|
---|
118 | <para>
|
---|
119 | Download size: &clang-size;
|
---|
120 | </para>
|
---|
121 | </listitem>
|
---|
122 | </itemizedlist>
|
---|
123 |
|
---|
124 | <bridgehead renderas="sect4">Compiler RT</bridgehead>
|
---|
125 | <itemizedlist spacing="compact">
|
---|
126 | <listitem>
|
---|
127 | <para>
|
---|
128 | Download: <ulink url="&compiler-rt-download-http;"/>
|
---|
129 | </para>
|
---|
130 | </listitem>
|
---|
131 | <listitem>
|
---|
132 | <para>
|
---|
133 | Download MD5 sum: &compiler-rt-md5sum;
|
---|
134 | </para>
|
---|
135 | </listitem>
|
---|
136 | <listitem>
|
---|
137 | <para>
|
---|
138 | Download size: &compiler-rt-size;
|
---|
139 | </para>
|
---|
140 | </listitem>
|
---|
141 | </itemizedlist>
|
---|
142 |
|
---|
143 | <bridgehead renderas="sect3">LLVM Dependencies</bridgehead>
|
---|
144 |
|
---|
145 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
146 | <para role="recommended">
|
---|
147 | <xref linkend="libffi"/> and
|
---|
148 | <xref linkend="python2"/>
|
---|
149 | </para>
|
---|
150 |
|
---|
151 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
152 | <para role="optional">
|
---|
153 | <xref linkend="cmake"/>,
|
---|
154 | <xref linkend="doxygen"/>,
|
---|
155 | <xref linkend="graphviz"/>,
|
---|
156 | <xref linkend="libxml2"/>,
|
---|
157 | <xref linkend="texlive"/> (or <xref linkend="tl-installer"/>),
|
---|
158 | <xref linkend="valgrind"/>,
|
---|
159 | <xref linkend="zip"/>,
|
---|
160 | <ulink url="http://www.ocaml.org/">OCaml</ulink>, and
|
---|
161 | <ulink url="http://pypi.python.org/pypi/Sphinx">Sphinx</ulink>
|
---|
162 | </para>
|
---|
163 |
|
---|
164 | <para condition="html" role="usernotes">User Notes:
|
---|
165 | <ulink url="&blfs-wiki;/llvm"/>
|
---|
166 | </para>
|
---|
167 | </sect2>
|
---|
168 |
|
---|
169 | <sect2 role="installation">
|
---|
170 | <title>Installation of LLVM</title>
|
---|
171 |
|
---|
172 | <para>
|
---|
173 | If you have downloaded the optional packages, install them into
|
---|
174 | the source tree by running the following commands:
|
---|
175 | </para>
|
---|
176 |
|
---|
177 | <screen><userinput>tar -xf ../cfe-&llvm-version;.src.tar.xz -C tools &&
|
---|
178 | tar -xf ../compiler-rt-&rt-version;.src.tar.xz -C projects &&
|
---|
179 |
|
---|
180 | mv tools/cfe-&llvm-version;.src tools/clang &&
|
---|
181 | mv projects/compiler-rt-&rt-version;.src projects/compiler-rt</userinput></screen>
|
---|
182 |
|
---|
183 | <!-- Only for 3.7.0: hopefully fixed on later versions -->
|
---|
184 | <para>
|
---|
185 | The run-time library needs to be fixed for 32 bit installations:
|
---|
186 | </para>
|
---|
187 |
|
---|
188 | <screen><userinput>sed -r "/ifeq.*CompilerTargetArch/s#i386#i686#g" \
|
---|
189 | -i projects/compiler-rt/make/platform/clang_linux.mk</userinput></screen>
|
---|
190 |
|
---|
191 | <para>
|
---|
192 | Install <application>LLVM</application> by running the following
|
---|
193 | commands:
|
---|
194 | </para>
|
---|
195 |
|
---|
196 | <screen><userinput>sed -e "s:/docs/llvm:/share/doc/llvm-&llvm-version;:" \
|
---|
197 | -i Makefile.config.in &&
|
---|
198 |
|
---|
199 | mkdir -v build &&
|
---|
200 | cd build &&
|
---|
201 |
|
---|
202 | CC=gcc CXX=g++ \
|
---|
203 | ../configure --prefix=/usr \
|
---|
204 | --datarootdir=/usr/share \
|
---|
205 | --sysconfdir=/etc \
|
---|
206 | --enable-libffi \
|
---|
207 | --enable-optimized \
|
---|
208 | --enable-shared \
|
---|
209 | --enable-targets=host,r600 \
|
---|
210 | --disable-assertions \
|
---|
211 | --docdir=/usr/share/doc/llvm-&llvm-version; &&
|
---|
212 | make</userinput></screen>
|
---|
213 |
|
---|
214 | <para>
|
---|
215 | If you have installed <application>Sphinx</application> and wish
|
---|
216 | to generate manual pages, issue the following command:
|
---|
217 | </para>
|
---|
218 |
|
---|
219 | <screen><userinput>make -C ../docs -f Makefile.sphinx man</userinput></screen>
|
---|
220 |
|
---|
221 | <para>
|
---|
222 | To test the results, issue: <command>make -k check-all</command>.
|
---|
223 | Some tests may fail for unknown reasons.
|
---|
224 | </para>
|
---|
225 |
|
---|
226 | <para>
|
---|
227 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
228 | </para>
|
---|
229 |
|
---|
230 | <screen role="root"><userinput>make install &&
|
---|
231 |
|
---|
232 | for file in /usr/lib/lib{clang,LLVM,LTO}*.a
|
---|
233 | do
|
---|
234 | test -f $file && chmod -v 644 $file
|
---|
235 | done
|
---|
236 | unset file</userinput></screen>
|
---|
237 |
|
---|
238 | <para>
|
---|
239 | If you had <xref linkend="python2"/> installed and you have
|
---|
240 | built <application>Clang</application>, install the
|
---|
241 | <application>Clang Analyzer</application> by running the
|
---|
242 | following command as the
|
---|
243 | <systemitem class="username">root</systemitem> user:
|
---|
244 | </para>
|
---|
245 |
|
---|
246 | <screen role="root"><userinput>install -v -dm755 /usr/lib/clang-analyzer &&
|
---|
247 |
|
---|
248 | for prog in scan-build scan-view
|
---|
249 | do
|
---|
250 | cp -rfv ../tools/clang/tools/$prog /usr/lib/clang-analyzer/ &&
|
---|
251 | ln -sfv ../lib/clang-analyzer/$prog/$prog /usr/bin/
|
---|
252 | done
|
---|
253 | unset prog &&
|
---|
254 |
|
---|
255 | ln -sfv /usr/bin/clang \
|
---|
256 | /usr/lib/clang-analyzer/scan-build/ &&
|
---|
257 | mv -v /usr/lib/clang-analyzer/scan-build/scan-build.1 \
|
---|
258 | /usr/share/man/man1/</userinput></screen>
|
---|
259 |
|
---|
260 | <para>
|
---|
261 | If you have built manual pages, install them by running the
|
---|
262 | following command as the
|
---|
263 | <systemitem class="username">root</systemitem> user:
|
---|
264 | </para>
|
---|
265 |
|
---|
266 | <screen role="root"><userinput>install -v -m644 ../docs/_build/man/* /usr/share/man/man1/</userinput></screen>
|
---|
267 |
|
---|
268 | </sect2>
|
---|
269 |
|
---|
270 | <sect2 role="commands">
|
---|
271 | <title>Command Explanations</title>
|
---|
272 |
|
---|
273 | <para>
|
---|
274 | <command>sed -e ... Makefile.config.in</command>: This sed fixes
|
---|
275 | location of the installed documentation.
|
---|
276 | </para>
|
---|
277 |
|
---|
278 | <para>
|
---|
279 | <parameter>--enable-libffi</parameter>: This switch enables
|
---|
280 | <application>LLVM</application> to use
|
---|
281 | <application>libffi</application>. Remove if you did not
|
---|
282 | install <application>libffi</application>.
|
---|
283 | </para>
|
---|
284 |
|
---|
285 | <para>
|
---|
286 | <parameter>--enable-optimized</parameter>: This switch enables
|
---|
287 | compiler optimizations in order to speed up the code and reduce
|
---|
288 | its size.
|
---|
289 | </para>
|
---|
290 |
|
---|
291 | <para>
|
---|
292 | <parameter>--enable-shared</parameter>: This switch enables
|
---|
293 | building of the <application>LLVM</application> shared
|
---|
294 | library which contains all of the static libraries linked into
|
---|
295 | a single library.
|
---|
296 | </para>
|
---|
297 |
|
---|
298 | <para>
|
---|
299 | <parameter>--enable-targets=host,r600</parameter>: This switch enables
|
---|
300 | building for the same target as the host, and also for the r600 AMD GPU
|
---|
301 | used by the Mesa r600 and radeonsi drivers. Default is all. You can use
|
---|
302 | a comma separated list. Valid targets are: host, x86, x86_64, sparc,
|
---|
303 | powerpc, arm64, arm, aarch64, mips, hexagon, xcore, msp430, nvptx,
|
---|
304 | systemz, r600, amdgpu (equivalent to r600), bpf, wasm, and cpp.
|
---|
305 | </para>
|
---|
306 |
|
---|
307 | <para>
|
---|
308 | <parameter>--disable-assertions</parameter>: Disable some compile checks,
|
---|
309 | not necessary on a production system.
|
---|
310 | </para>
|
---|
311 |
|
---|
312 | </sect2>
|
---|
313 |
|
---|
314 | <sect2 role="content">
|
---|
315 | <title>Contents</title>
|
---|
316 |
|
---|
317 | <segmentedlist>
|
---|
318 | <segtitle>Installed Programs</segtitle>
|
---|
319 | <segtitle>Installed Libraries</segtitle>
|
---|
320 | <segtitle>Installed Directories</segtitle>
|
---|
321 |
|
---|
322 | <seglistitem>
|
---|
323 | <seg>
|
---|
324 | bugpoint, c-index-test, clang, clang++ (symlink), count, FileCheck,
|
---|
325 | clang-check, clang-format, clang-tblgen, llc, lli, lli-child-target,
|
---|
326 | llvm-ar, llvm-as, llvm-bcanalyzer, llvm-config, llvm-cov,
|
---|
327 | llvm-cxxdump, llvm-diff, llvm-dis, llvm-dsymutil, llvm-dwarfdump,
|
---|
328 | llvm-extract, llvm-link, llvm-mc, llvm-mcmarkup, llvm-nm,
|
---|
329 | llvm-objdump, llvm-pdbdump, llvm-profdata, llvm-ranlib (symlink),
|
---|
330 | llvm-readobj, llvm-rtdyld, llvm-size, llvm-stress, llvm-symbolizer,
|
---|
331 | llvm-tblgen, macho-dump, not, obj2yaml, opt, scan-build (symlink),
|
---|
332 | scan-view (symlink), verify-uselistorder, and yaml2obj
|
---|
333 | </seg>
|
---|
334 | <seg>
|
---|
335 | BugpointPasses.so, libclang.so, libLLVM-&llvm-version;.so,
|
---|
336 | libLTO.so,<!-- libprofile_rt.so,--> LLVMHello.so and numerous
|
---|
337 | static libraries in /usr/lib
|
---|
338 | </seg>
|
---|
339 | <seg>
|
---|
340 | /usr/include/{clang,clang-c,llvm,llvm-c},
|
---|
341 | /usr/lib/{clang,clang-analyzer}, and
|
---|
342 | /usr/share/{doc/llvm-&llvm-version;,llvm}
|
---|
343 | </seg>
|
---|
344 | </seglistitem>
|
---|
345 | </segmentedlist>
|
---|
346 |
|
---|
347 | <variablelist>
|
---|
348 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
349 | <?dbfo list-presentation="list"?>
|
---|
350 | <?dbhtml list-presentation="table"?>
|
---|
351 |
|
---|
352 | <varlistentry id="bugpoint">
|
---|
353 | <term><command>bugpoint</command></term>
|
---|
354 | <listitem>
|
---|
355 | <para>
|
---|
356 | is the automatic test case reduction tool.
|
---|
357 | </para>
|
---|
358 | <indexterm zone="llvm bugpoint">
|
---|
359 | <primary sortas="b-bugpoint">bugpoint</primary>
|
---|
360 | </indexterm>
|
---|
361 | </listitem>
|
---|
362 | </varlistentry>
|
---|
363 |
|
---|
364 | <varlistentry id="clang">
|
---|
365 | <term><command>clang</command></term>
|
---|
366 | <listitem>
|
---|
367 | <para>
|
---|
368 | is the <application>Clang</application> C, C++,
|
---|
369 | and Objective-C compiler.
|
---|
370 | </para>
|
---|
371 | <indexterm zone="llvm clang">
|
---|
372 | <primary sortas="b-clang">clang</primary>
|
---|
373 | </indexterm>
|
---|
374 | </listitem>
|
---|
375 | </varlistentry>
|
---|
376 |
|
---|
377 | <varlistentry id="llc">
|
---|
378 | <term><command>llc</command></term>
|
---|
379 | <listitem>
|
---|
380 | <para>
|
---|
381 | is the <application>LLVM</application> static compiler.
|
---|
382 | </para>
|
---|
383 | <indexterm zone="llvm llc">
|
---|
384 | <primary sortas="b-llc">llc</primary>
|
---|
385 | </indexterm>
|
---|
386 | </listitem>
|
---|
387 | </varlistentry>
|
---|
388 |
|
---|
389 | <varlistentry id="lli">
|
---|
390 | <term><command>lli</command></term>
|
---|
391 | <listitem>
|
---|
392 | <para>
|
---|
393 | is used to directly execute programs from
|
---|
394 | <application>LLVM</application> bitcode.
|
---|
395 | </para>
|
---|
396 | <indexterm zone="llvm lli">
|
---|
397 | <primary sortas="b-lli">lli</primary>
|
---|
398 | </indexterm>
|
---|
399 | </listitem>
|
---|
400 | </varlistentry>
|
---|
401 |
|
---|
402 | <varlistentry id="llvm-ar">
|
---|
403 | <term><command>llvm-ar</command></term>
|
---|
404 | <listitem>
|
---|
405 | <para>
|
---|
406 | is the <application>LLVM</application> archiver.
|
---|
407 | </para>
|
---|
408 | <indexterm zone="llvm llvm-ar">
|
---|
409 | <primary sortas="b-llvm-ar">llvm-ar</primary>
|
---|
410 | </indexterm>
|
---|
411 | </listitem>
|
---|
412 | </varlistentry>
|
---|
413 |
|
---|
414 | <varlistentry id="llvm-as">
|
---|
415 | <term><command>llvm-as</command></term>
|
---|
416 | <listitem>
|
---|
417 | <para>
|
---|
418 | is the <application>LLVM</application> assembler.
|
---|
419 | </para>
|
---|
420 | <indexterm zone="llvm llvm-as">
|
---|
421 | <primary sortas="b-llvm-as">llvm-as</primary>
|
---|
422 | </indexterm>
|
---|
423 | </listitem>
|
---|
424 | </varlistentry>
|
---|
425 |
|
---|
426 | <varlistentry id="llvm-bcanalyzer">
|
---|
427 | <term><command>llvm-bcanalyzer</command></term>
|
---|
428 | <listitem>
|
---|
429 | <para>
|
---|
430 | is the <application>LLVM</application> bitcode analyzer.
|
---|
431 | </para>
|
---|
432 | <indexterm zone="llvm llvm-bcanalyzer">
|
---|
433 | <primary sortas="b-llvm-bcanalyzer">llvm-bcanalyzer</primary>
|
---|
434 | </indexterm>
|
---|
435 | </listitem>
|
---|
436 | </varlistentry>
|
---|
437 |
|
---|
438 | <varlistentry id="llvm-config">
|
---|
439 | <term><command>llvm-config</command></term>
|
---|
440 | <listitem>
|
---|
441 | <para>
|
---|
442 | Prints <application>LLVM</application> compilation options.
|
---|
443 | </para>
|
---|
444 | <indexterm zone="llvm llvm-config">
|
---|
445 | <primary sortas="b-llvm-config">llvm-config</primary>
|
---|
446 | </indexterm>
|
---|
447 | </listitem>
|
---|
448 | </varlistentry>
|
---|
449 |
|
---|
450 | <varlistentry id="llvm-cov">
|
---|
451 | <term><command>llvm-cov</command></term>
|
---|
452 | <listitem>
|
---|
453 | <para>
|
---|
454 | is used to emit coverage information.
|
---|
455 | </para>
|
---|
456 | <indexterm zone="llvm llvm-cov">
|
---|
457 | <primary sortas="b-llvm-cov">llvm-cov</primary>
|
---|
458 | </indexterm>
|
---|
459 | </listitem>
|
---|
460 | </varlistentry>
|
---|
461 |
|
---|
462 | <varlistentry id="llvm-cxxdump">
|
---|
463 | <term><command>llvm-cxxdump</command></term>
|
---|
464 | <listitem>
|
---|
465 | <para>
|
---|
466 | is used for C++ ABI Data Dumper.
|
---|
467 | </para>
|
---|
468 | <indexterm zone="llvm llvm-cxxdump">
|
---|
469 | <primary sortas="b-llvm-cxxdump">llvm-cxxdump</primary>
|
---|
470 | </indexterm>
|
---|
471 | </listitem>
|
---|
472 | </varlistentry>
|
---|
473 |
|
---|
474 | <varlistentry id="llvm-diff">
|
---|
475 | <term><command>llvm-diff</command></term>
|
---|
476 | <listitem>
|
---|
477 | <para>
|
---|
478 | is the <application>LLVM</application> structural
|
---|
479 | '<command>diff</command>'.
|
---|
480 | </para>
|
---|
481 | <indexterm zone="llvm llvm-diff">
|
---|
482 | <primary sortas="b-llvm-diff">llvm-diff</primary>
|
---|
483 | </indexterm>
|
---|
484 | </listitem>
|
---|
485 | </varlistentry>
|
---|
486 |
|
---|
487 | <varlistentry id="llvm-dis">
|
---|
488 | <term><command>llvm-dis</command></term>
|
---|
489 | <listitem>
|
---|
490 | <para>
|
---|
491 | is the <application>LLVM</application> disassembler.
|
---|
492 | </para>
|
---|
493 | <indexterm zone="llvm llvm-dis">
|
---|
494 | <primary sortas="b-llvm-dis">llvm-dis</primary>
|
---|
495 | </indexterm>
|
---|
496 | </listitem>
|
---|
497 | </varlistentry>
|
---|
498 |
|
---|
499 | <varlistentry id="llvm-dsymutil">
|
---|
500 | <term><command>llvm-dsymutil</command></term>
|
---|
501 | <listitem>
|
---|
502 | <para>
|
---|
503 | tool used to manipulate archived DWARF debug symbol files,
|
---|
504 | compatible with the Darwin command <command>dsymutil</command>.
|
---|
505 | </para>
|
---|
506 | <indexterm zone="llvm llvm-dsymutil">
|
---|
507 | <primary sortas="b-llvm-dsymutil">llvm-dsymutil</primary>
|
---|
508 | </indexterm>
|
---|
509 | </listitem>
|
---|
510 | </varlistentry>
|
---|
511 |
|
---|
512 | <varlistentry id="llvm-extract">
|
---|
513 | <term><command>llvm-extract</command></term>
|
---|
514 | <listitem>
|
---|
515 | <para>
|
---|
516 | is used to extract a function from an
|
---|
517 | <application>LLVM</application> module.
|
---|
518 | </para>
|
---|
519 | <indexterm zone="llvm llvm-extract">
|
---|
520 | <primary sortas="b-llvm-extract">llvm-extract</primary>
|
---|
521 | </indexterm>
|
---|
522 | </listitem>
|
---|
523 | </varlistentry>
|
---|
524 |
|
---|
525 | <varlistentry id="llvm-link">
|
---|
526 | <term><command>llvm-link</command></term>
|
---|
527 | <listitem>
|
---|
528 | <para>
|
---|
529 | is the <application>LLVM</application> linker.
|
---|
530 | </para>
|
---|
531 | <indexterm zone="llvm llvm-link">
|
---|
532 | <primary sortas="b-llvm-link">llvm-link</primary>
|
---|
533 | </indexterm>
|
---|
534 | </listitem>
|
---|
535 | </varlistentry>
|
---|
536 |
|
---|
537 | <varlistentry id="llvm-nm">
|
---|
538 | <term><command>llvm-nm</command></term>
|
---|
539 | <listitem>
|
---|
540 | <para>
|
---|
541 | is used to list <application>LLVM</application> bitcode
|
---|
542 | and object file's symbol table.
|
---|
543 | </para>
|
---|
544 | <indexterm zone="llvm llvm-nm">
|
---|
545 | <primary sortas="b-llvm-nm">llvm-nm</primary>
|
---|
546 | </indexterm>
|
---|
547 | </listitem>
|
---|
548 | </varlistentry>
|
---|
549 |
|
---|
550 | <varlistentry id="llvm-pdbdump">
|
---|
551 | <term><command>llvm-pdbdump</command></term>
|
---|
552 | <listitem>
|
---|
553 | <para>
|
---|
554 | is used as PDB Dumper.
|
---|
555 | </para>
|
---|
556 | <indexterm zone="llvm llvm-pdbdump">
|
---|
557 | <primary sortas="b-llvm-pdbdump">llvm-pdbdump</primary>
|
---|
558 | </indexterm>
|
---|
559 | </listitem>
|
---|
560 | </varlistentry>
|
---|
561 | <!--
|
---|
562 | <varlistentry id="llvm-prof">
|
---|
563 | <term><command>llvm-prof</command></term>
|
---|
564 | <listitem>
|
---|
565 | <para>
|
---|
566 | is used to print execution profile of
|
---|
567 | <application>LLVM</application> program.
|
---|
568 | </para>
|
---|
569 | <indexterm zone="llvm llvm-prof">
|
---|
570 | <primary sortas="b-llvm-prof">llvm-prof</primary>
|
---|
571 | </indexterm>
|
---|
572 | </listitem>
|
---|
573 | </varlistentry>-->
|
---|
574 |
|
---|
575 | <varlistentry id="llvm-ranlib">
|
---|
576 | <term><command>llvm-ranlib</command></term>
|
---|
577 | <listitem>
|
---|
578 | <para>
|
---|
579 | is used to generate index for <application>LLVM</application>
|
---|
580 | archive.
|
---|
581 | </para>
|
---|
582 | <indexterm zone="llvm llvm-ranlib">
|
---|
583 | <primary sortas="b-llvm-ranlib">llvm-ranlib</primary>
|
---|
584 | </indexterm>
|
---|
585 | </listitem>
|
---|
586 | </varlistentry>
|
---|
587 |
|
---|
588 | <varlistentry id="llvm-stress">
|
---|
589 | <term><command>llvm-stress</command></term>
|
---|
590 | <listitem>
|
---|
591 | <para>
|
---|
592 | is used to generate random
|
---|
593 | <filename class="extension">.ll</filename> files.
|
---|
594 | </para>
|
---|
595 | <indexterm zone="llvm llvm-stress">
|
---|
596 | <primary sortas="b-llvm-stress">llvm-stress</primary>
|
---|
597 | </indexterm>
|
---|
598 | </listitem>
|
---|
599 | </varlistentry>
|
---|
600 |
|
---|
601 | <varlistentry id="llvm-tblgen">
|
---|
602 | <term><command>llvm-tblgen</command></term>
|
---|
603 | <listitem>
|
---|
604 | <para>
|
---|
605 | is the <application>LLVM</application> Target Description
|
---|
606 | To C++ Code Generator.
|
---|
607 | </para>
|
---|
608 | <indexterm zone="llvm llvm-tblgen">
|
---|
609 | <primary sortas="b-llvm-tblgen">llvm-tblgen</primary>
|
---|
610 | </indexterm>
|
---|
611 | </listitem>
|
---|
612 | </varlistentry>
|
---|
613 |
|
---|
614 | <varlistentry id="obj2yaml">
|
---|
615 | <term><command>obj2yaml</command></term>
|
---|
616 | <listitem>
|
---|
617 | <para>
|
---|
618 | takes an object file,and produces a YAML representation of the
|
---|
619 | file.
|
---|
620 | </para>
|
---|
621 | <indexterm zone="llvm obj2yaml">
|
---|
622 | <primary sortas="b-obj2yaml">obj2yaml</primary>
|
---|
623 | </indexterm>
|
---|
624 | </listitem>
|
---|
625 | </varlistentry>
|
---|
626 |
|
---|
627 | <varlistentry id="opt">
|
---|
628 | <term><command>opt</command></term>
|
---|
629 | <listitem>
|
---|
630 | <para>
|
---|
631 | is the <application>LLVM</application> optimizer.
|
---|
632 | </para>
|
---|
633 | <indexterm zone="llvm opt">
|
---|
634 | <primary sortas="b-opt">opt</primary>
|
---|
635 | </indexterm>
|
---|
636 | </listitem>
|
---|
637 | </varlistentry>
|
---|
638 |
|
---|
639 | <varlistentry id="scan-build">
|
---|
640 | <term><command>scan-build</command></term>
|
---|
641 | <listitem>
|
---|
642 | <para>
|
---|
643 | is a <application>Perl</application> script that invokes the
|
---|
644 | <application>Clang</application> static analyzer.
|
---|
645 | </para>
|
---|
646 | <indexterm zone="llvm scan-build">
|
---|
647 | <primary sortas="b-scan-build">scan-build</primary>
|
---|
648 | </indexterm>
|
---|
649 | </listitem>
|
---|
650 | </varlistentry>
|
---|
651 |
|
---|
652 | <varlistentry id="yaml2obj">
|
---|
653 | <term><command>yaml2obj</command></term>
|
---|
654 | <listitem>
|
---|
655 | <para>
|
---|
656 | takes a YAML representation of an object file and converts it
|
---|
657 | to an binary file.
|
---|
658 | </para>
|
---|
659 | <indexterm zone="llvm yaml2obj">
|
---|
660 | <primary sortas="b-yaml2obj">yaml2obj</primary>
|
---|
661 | </indexterm>
|
---|
662 | </listitem>
|
---|
663 | </varlistentry>
|
---|
664 |
|
---|
665 | <varlistentry id="libllvm">
|
---|
666 | <term><filename class="libraryfile">libLLVM-&llvm-version;.so</filename></term>
|
---|
667 | <listitem>
|
---|
668 | <para>
|
---|
669 | contains the <application>LLVM</application> API functions.
|
---|
670 | </para>
|
---|
671 | <indexterm zone="llvm libllvm">
|
---|
672 | <primary sortas="c-libllvm">libLLVM-&llvm-version;.so</primary>
|
---|
673 | </indexterm>
|
---|
674 | </listitem>
|
---|
675 | </varlistentry>
|
---|
676 | <!--
|
---|
677 | <varlistentry id="libprofile_rt">
|
---|
678 | <term><filename class="libraryfile">libprofile_rt.so</filename></term>
|
---|
679 | <listitem>
|
---|
680 | <para>
|
---|
681 | is the C, C++ and Objective-C runtime library for
|
---|
682 | <application>Clang</application>.
|
---|
683 | </para>
|
---|
684 | <indexterm zone="llvm libprofile_rt">
|
---|
685 | <primary sortas="c-libprofile_rt">libprofile_rt.so</primary>
|
---|
686 | </indexterm>
|
---|
687 | </listitem>
|
---|
688 | </varlistentry>-->
|
---|
689 |
|
---|
690 | </variablelist>
|
---|
691 |
|
---|
692 | </sect2>
|
---|
693 |
|
---|
694 | </sect1>
|
---|