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 "2d3d8004f38852aa679e5945b8ce0b14">
|
---|
10 | <!ENTITY llvm-size "12 MB">
|
---|
11 | <!ENTITY llvm-buildsize "618 MB (1.2 GB with Clang) and 78 MB for the tests">
|
---|
12 | <!ENTITY llvm-time "6.5 SBU - using parallelism=4 (12 SBU with Clang - using parallelism=4) and 0.3 for tests">
|
---|
13 |
|
---|
14 | <!ENTITY clang-download-http "http://llvm.org/releases/&llvm-version;/cfe-&llvm-version;.src.tar.xz">
|
---|
15 | <!ENTITY clang-md5sum "93f9532f8f7e6f1d8e5c1116907051cb">
|
---|
16 | <!ENTITY clang-size "7.9 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 "d626cfb8a9712cb92b820798ab5bc1f8">
|
---|
21 | <!ENTITY compiler-rt-size "1.1 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 | &lfs77_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 | <para>
|
---|
184 | Install <application>LLVM</application> by running the following
|
---|
185 | commands:
|
---|
186 | </para>
|
---|
187 |
|
---|
188 | <screen><userinput>sed -e "s:/docs/llvm:/share/doc/llvm-&llvm-version;:" \
|
---|
189 | -i Makefile.config.in &&
|
---|
190 |
|
---|
191 | CC=gcc CXX=g++ \
|
---|
192 | ./configure --prefix=/usr \
|
---|
193 | --sysconfdir=/etc \
|
---|
194 | --enable-libffi \
|
---|
195 | --enable-optimized \
|
---|
196 | --enable-shared \
|
---|
197 | --disable-assertions &&
|
---|
198 | make</userinput></screen>
|
---|
199 |
|
---|
200 | <para>
|
---|
201 | If you have installed <application>Sphinx</application> and wish
|
---|
202 | to generate manual pages, issue the following command:
|
---|
203 | </para>
|
---|
204 |
|
---|
205 | <screen><userinput>make -C docs -f Makefile.sphinx man</userinput></screen>
|
---|
206 |
|
---|
207 | <para>
|
---|
208 | To test the results, issue: <command>make check</command>.
|
---|
209 | </para>
|
---|
210 |
|
---|
211 | <para>
|
---|
212 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
213 | </para>
|
---|
214 |
|
---|
215 | <screen role="root"><userinput>make install &&
|
---|
216 |
|
---|
217 | for file in /usr/lib/lib{clang,LLVM,LTO}*.a
|
---|
218 | do
|
---|
219 | test -f $file && chmod -v 644 $file
|
---|
220 | done</userinput></screen>
|
---|
221 |
|
---|
222 | <para>
|
---|
223 | If you had <xref linkend="python2"/> installed and you have
|
---|
224 | built <application>Clang</application>, install the
|
---|
225 | <application>Clang Analyzer</application> by running the
|
---|
226 | following command as the
|
---|
227 | <systemitem class="username">root</systemitem> user:
|
---|
228 | </para>
|
---|
229 |
|
---|
230 | <screen role="root"><userinput>install -v -dm755 /usr/lib/clang-analyzer &&
|
---|
231 |
|
---|
232 | for prog in scan-build scan-view
|
---|
233 | do
|
---|
234 | cp -rfv tools/clang/tools/$prog /usr/lib/clang-analyzer/
|
---|
235 | ln -sfv ../lib/clang-analyzer/$prog/$prog /usr/bin/
|
---|
236 | done &&
|
---|
237 |
|
---|
238 | ln -sfv /usr/bin/clang /usr/lib/clang-analyzer/scan-build/ &&
|
---|
239 | mv -v /usr/lib/clang-analyzer/scan-build/scan-build.1 /usr/share/man/man1/</userinput></screen>
|
---|
240 |
|
---|
241 | <para>
|
---|
242 | If you have built manual pages, install them by running the
|
---|
243 | following command as the
|
---|
244 | <systemitem class="username">root</systemitem> user:
|
---|
245 | </para>
|
---|
246 |
|
---|
247 | <screen role="root"><userinput>install -v -m644 docs/_build/man/* /usr/share/man/man1/</userinput></screen>
|
---|
248 |
|
---|
249 | </sect2>
|
---|
250 |
|
---|
251 | <sect2 role="commands">
|
---|
252 | <title>Command Explanations</title>
|
---|
253 |
|
---|
254 | <para>
|
---|
255 | <command>sed -e ... Makefile.config.in</command>: This sed fixes
|
---|
256 | location of the installed documentation.
|
---|
257 | </para>
|
---|
258 |
|
---|
259 | <para>
|
---|
260 | <parameter>--enable-libffi</parameter>: This switch enables
|
---|
261 | <application>LLVM</application> to use
|
---|
262 | <application>libffi</application>. Remove if you did not
|
---|
263 | install <application>libffi</application>.
|
---|
264 | </para>
|
---|
265 |
|
---|
266 | <para>
|
---|
267 | <parameter>--enable-optimized</parameter>: This switch enables
|
---|
268 | compiler optimizations in order to speed up the code and reduce
|
---|
269 | its size.
|
---|
270 | </para>
|
---|
271 |
|
---|
272 | <para>
|
---|
273 | <parameter>--enable-shared</parameter>: This switch enables
|
---|
274 | building of the <application>LLVM</application> shared
|
---|
275 | library which contains all of static libraries linked into
|
---|
276 | single library.
|
---|
277 | </para>
|
---|
278 |
|
---|
279 | <para>
|
---|
280 | <parameter>--disable-assertions</parameter>: Disable some compile checks,
|
---|
281 | not necessary on a production system.
|
---|
282 | </para>
|
---|
283 |
|
---|
284 | </sect2>
|
---|
285 |
|
---|
286 | <sect2 role="content">
|
---|
287 | <title>Contents</title>
|
---|
288 |
|
---|
289 | <segmentedlist>
|
---|
290 | <segtitle>Installed Programs</segtitle>
|
---|
291 | <segtitle>Installed Libraries</segtitle>
|
---|
292 | <segtitle>Installed Directories</segtitle>
|
---|
293 |
|
---|
294 | <seglistitem>
|
---|
295 | <seg>
|
---|
296 | bugpoint, c-index-test, clang, clang++ (symlink), count, FileCheck,
|
---|
297 | clang-check, clang-format, clang-tblgen, llc, lli, lli-child-target,
|
---|
298 | llvm-ar, llvm-as, llvm-bcanalyzer, llvm-config, llvm-cov, llvm-diff,
|
---|
299 | llvm-dis, llvm-dwarfdump, llvm-extract, llvm-link, llvm-mc,
|
---|
300 | llvm-mcmarkup, llvm-nm, llvm-objdump, llvm-profdata, llvm-ranlib
|
---|
301 | (symlink), llvm-readobj, llvm-rtdyld, llvm-size, llvm-stress,
|
---|
302 | llvm-symbolizer, llvm-tblgen, macho-dump, not, opt, scan-build
|
---|
303 | (symlink), and scan-view (symlink)
|
---|
304 | </seg>
|
---|
305 | <seg>
|
---|
306 | BugpointPasses.so, libclang.so, libLLVM-&llvm-version;.so,
|
---|
307 | libLTO.so,<!-- libprofile_rt.so,--> LLVMHello.so and numerous
|
---|
308 | static libraries in /usr/lib
|
---|
309 | </seg>
|
---|
310 | <seg>
|
---|
311 | /usr/include/{clang,clang-c,llvm,llvm-c},
|
---|
312 | /usr/lib/{clang,clang-analyzer},
|
---|
313 | /usr/share/doc/llvm-&llvm-version;,
|
---|
314 | and /usr/share/llvm
|
---|
315 | </seg>
|
---|
316 | </seglistitem>
|
---|
317 | </segmentedlist>
|
---|
318 |
|
---|
319 | <variablelist>
|
---|
320 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
321 | <?dbfo list-presentation="list"?>
|
---|
322 | <?dbhtml list-presentation="table"?>
|
---|
323 |
|
---|
324 | <varlistentry id="bugpoint">
|
---|
325 | <term><command>bugpoint</command></term>
|
---|
326 | <listitem>
|
---|
327 | <para>
|
---|
328 | is the automatic test case reduction tool.
|
---|
329 | </para>
|
---|
330 | <indexterm zone="llvm bugpoint">
|
---|
331 | <primary sortas="b-bugpoint">bugpoint</primary>
|
---|
332 | </indexterm>
|
---|
333 | </listitem>
|
---|
334 | </varlistentry>
|
---|
335 |
|
---|
336 | <varlistentry id="clang">
|
---|
337 | <term><command>clang</command></term>
|
---|
338 | <listitem>
|
---|
339 | <para>
|
---|
340 | is the <application>Clang</application> C, C++,
|
---|
341 | and Objective-C compiler.
|
---|
342 | </para>
|
---|
343 | <indexterm zone="llvm clang">
|
---|
344 | <primary sortas="b-clang">clang</primary>
|
---|
345 | </indexterm>
|
---|
346 | </listitem>
|
---|
347 | </varlistentry>
|
---|
348 |
|
---|
349 | <varlistentry id="llc">
|
---|
350 | <term><command>llc</command></term>
|
---|
351 | <listitem>
|
---|
352 | <para>
|
---|
353 | is the <application>LLVM</application> static compiler.
|
---|
354 | </para>
|
---|
355 | <indexterm zone="llvm llc">
|
---|
356 | <primary sortas="b-llc">llc</primary>
|
---|
357 | </indexterm>
|
---|
358 | </listitem>
|
---|
359 | </varlistentry>
|
---|
360 |
|
---|
361 | <varlistentry id="lli">
|
---|
362 | <term><command>lli</command></term>
|
---|
363 | <listitem>
|
---|
364 | <para>
|
---|
365 | is used to directly execute programs from
|
---|
366 | <application>LLVM</application> bitcode.
|
---|
367 | </para>
|
---|
368 | <indexterm zone="llvm lli">
|
---|
369 | <primary sortas="b-lli">lli</primary>
|
---|
370 | </indexterm>
|
---|
371 | </listitem>
|
---|
372 | </varlistentry>
|
---|
373 |
|
---|
374 | <varlistentry id="llvm-ar">
|
---|
375 | <term><command>llvm-ar</command></term>
|
---|
376 | <listitem>
|
---|
377 | <para>
|
---|
378 | is the <application>LLVM</application> archiver.
|
---|
379 | </para>
|
---|
380 | <indexterm zone="llvm llvm-ar">
|
---|
381 | <primary sortas="b-llvm-ar">llvm-ar</primary>
|
---|
382 | </indexterm>
|
---|
383 | </listitem>
|
---|
384 | </varlistentry>
|
---|
385 |
|
---|
386 | <varlistentry id="llvm-as">
|
---|
387 | <term><command>llvm-as</command></term>
|
---|
388 | <listitem>
|
---|
389 | <para>
|
---|
390 | is the <application>LLVM</application> assembler.
|
---|
391 | </para>
|
---|
392 | <indexterm zone="llvm llvm-as">
|
---|
393 | <primary sortas="b-llvm-as">llvm-as</primary>
|
---|
394 | </indexterm>
|
---|
395 | </listitem>
|
---|
396 | </varlistentry>
|
---|
397 |
|
---|
398 | <varlistentry id="llvm-bcanalyzer">
|
---|
399 | <term><command>llvm-bcanalyzer</command></term>
|
---|
400 | <listitem>
|
---|
401 | <para>
|
---|
402 | is the <application>LLVM</application> bitcode analyzer.
|
---|
403 | </para>
|
---|
404 | <indexterm zone="llvm llvm-bcanalyzer">
|
---|
405 | <primary sortas="b-llvm-bcanalyzer">llvm-bcanalyzer</primary>
|
---|
406 | </indexterm>
|
---|
407 | </listitem>
|
---|
408 | </varlistentry>
|
---|
409 |
|
---|
410 | <varlistentry id="llvm-config">
|
---|
411 | <term><command>llvm-config</command></term>
|
---|
412 | <listitem>
|
---|
413 | <para>
|
---|
414 | Prints <application>LLVM</application> compilation options.
|
---|
415 | </para>
|
---|
416 | <indexterm zone="llvm llvm-config">
|
---|
417 | <primary sortas="b-llvm-config">llvm-config</primary>
|
---|
418 | </indexterm>
|
---|
419 | </listitem>
|
---|
420 | </varlistentry>
|
---|
421 |
|
---|
422 | <varlistentry id="llvm-cov">
|
---|
423 | <term><command>llvm-cov</command></term>
|
---|
424 | <listitem>
|
---|
425 | <para>
|
---|
426 | is used to emit coverage information.
|
---|
427 | </para>
|
---|
428 | <indexterm zone="llvm llvm-cov">
|
---|
429 | <primary sortas="b-llvm-cov">llvm-cov</primary>
|
---|
430 | </indexterm>
|
---|
431 | </listitem>
|
---|
432 | </varlistentry>
|
---|
433 |
|
---|
434 | <varlistentry id="llvm-diff">
|
---|
435 | <term><command>llvm-diff</command></term>
|
---|
436 | <listitem>
|
---|
437 | <para>
|
---|
438 | is the <application>LLVM</application> structural
|
---|
439 | '<command>diff</command>'.
|
---|
440 | </para>
|
---|
441 | <indexterm zone="llvm llvm-diff">
|
---|
442 | <primary sortas="b-llvm-diff">llvm-diff</primary>
|
---|
443 | </indexterm>
|
---|
444 | </listitem>
|
---|
445 | </varlistentry>
|
---|
446 |
|
---|
447 | <varlistentry id="llvm-dis">
|
---|
448 | <term><command>llvm-dis</command></term>
|
---|
449 | <listitem>
|
---|
450 | <para>
|
---|
451 | is the <application>LLVM</application> disassembler.
|
---|
452 | </para>
|
---|
453 | <indexterm zone="llvm llvm-dis">
|
---|
454 | <primary sortas="b-llvm-dis">llvm-dis</primary>
|
---|
455 | </indexterm>
|
---|
456 | </listitem>
|
---|
457 | </varlistentry>
|
---|
458 |
|
---|
459 | <varlistentry id="llvm-extract">
|
---|
460 | <term><command>llvm-extract</command></term>
|
---|
461 | <listitem>
|
---|
462 | <para>
|
---|
463 | is used to extract a function from an
|
---|
464 | <application>LLVM</application> module.
|
---|
465 | </para>
|
---|
466 | <indexterm zone="llvm llvm-extract">
|
---|
467 | <primary sortas="b-llvm-extract">llvm-extract</primary>
|
---|
468 | </indexterm>
|
---|
469 | </listitem>
|
---|
470 | </varlistentry>
|
---|
471 |
|
---|
472 | <varlistentry id="llvm-link">
|
---|
473 | <term><command>llvm-link</command></term>
|
---|
474 | <listitem>
|
---|
475 | <para>
|
---|
476 | is the <application>LLVM</application> linker.
|
---|
477 | </para>
|
---|
478 | <indexterm zone="llvm llvm-link">
|
---|
479 | <primary sortas="b-llvm-link">llvm-link</primary>
|
---|
480 | </indexterm>
|
---|
481 | </listitem>
|
---|
482 | </varlistentry>
|
---|
483 |
|
---|
484 | <varlistentry id="llvm-nm">
|
---|
485 | <term><command>llvm-nm</command></term>
|
---|
486 | <listitem>
|
---|
487 | <para>
|
---|
488 | is used to list <application>LLVM</application> bitcode
|
---|
489 | and object file's symbol table.
|
---|
490 | </para>
|
---|
491 | <indexterm zone="llvm llvm-nm">
|
---|
492 | <primary sortas="b-llvm-nm">llvm-nm</primary>
|
---|
493 | </indexterm>
|
---|
494 | </listitem>
|
---|
495 | </varlistentry>
|
---|
496 | <!--
|
---|
497 | <varlistentry id="llvm-prof">
|
---|
498 | <term><command>llvm-prof</command></term>
|
---|
499 | <listitem>
|
---|
500 | <para>
|
---|
501 | is used to print execution profile of
|
---|
502 | <application>LLVM</application> program.
|
---|
503 | </para>
|
---|
504 | <indexterm zone="llvm llvm-prof">
|
---|
505 | <primary sortas="b-llvm-prof">llvm-prof</primary>
|
---|
506 | </indexterm>
|
---|
507 | </listitem>
|
---|
508 | </varlistentry>-->
|
---|
509 |
|
---|
510 | <varlistentry id="llvm-ranlib">
|
---|
511 | <term><command>llvm-ranlib</command></term>
|
---|
512 | <listitem>
|
---|
513 | <para>
|
---|
514 | is used to generate index for <application>LLVM</application>
|
---|
515 | archive.
|
---|
516 | </para>
|
---|
517 | <indexterm zone="llvm llvm-ranlib">
|
---|
518 | <primary sortas="b-llvm-ranlib">llvm-ranlib</primary>
|
---|
519 | </indexterm>
|
---|
520 | </listitem>
|
---|
521 | </varlistentry>
|
---|
522 |
|
---|
523 | <varlistentry id="llvm-stress">
|
---|
524 | <term><command>llvm-stress</command></term>
|
---|
525 | <listitem>
|
---|
526 | <para>
|
---|
527 | is used to generate random
|
---|
528 | <filename class="extension">.ll</filename> files.
|
---|
529 | </para>
|
---|
530 | <indexterm zone="llvm llvm-stress">
|
---|
531 | <primary sortas="b-llvm-stress">llvm-stress</primary>
|
---|
532 | </indexterm>
|
---|
533 | </listitem>
|
---|
534 | </varlistentry>
|
---|
535 |
|
---|
536 | <varlistentry id="llvm-tblgen">
|
---|
537 | <term><command>llvm-tblgen</command></term>
|
---|
538 | <listitem>
|
---|
539 | <para>
|
---|
540 | is the <application>LLVM</application> Target Description
|
---|
541 | To C++ Code Generator.
|
---|
542 | </para>
|
---|
543 | <indexterm zone="llvm llvm-tblgen">
|
---|
544 | <primary sortas="b-llvm-tblgen">llvm-tblgen</primary>
|
---|
545 | </indexterm>
|
---|
546 | </listitem>
|
---|
547 | </varlistentry>
|
---|
548 |
|
---|
549 | <varlistentry id="opt">
|
---|
550 | <term><command>opt</command></term>
|
---|
551 | <listitem>
|
---|
552 | <para>
|
---|
553 | is the <application>LLVM</application> optimizer.
|
---|
554 | </para>
|
---|
555 | <indexterm zone="llvm opt">
|
---|
556 | <primary sortas="b-opt">opt</primary>
|
---|
557 | </indexterm>
|
---|
558 | </listitem>
|
---|
559 | </varlistentry>
|
---|
560 |
|
---|
561 | <varlistentry id="scan-build">
|
---|
562 | <term><command>scan-build</command></term>
|
---|
563 | <listitem>
|
---|
564 | <para>
|
---|
565 | is a <application>Perl</application> script that invokes the
|
---|
566 | <application>Clang</application> static analyzer.
|
---|
567 | </para>
|
---|
568 | <indexterm zone="llvm scan-build">
|
---|
569 | <primary sortas="b-scan-build">scan-build</primary>
|
---|
570 | </indexterm>
|
---|
571 | </listitem>
|
---|
572 | </varlistentry>
|
---|
573 |
|
---|
574 | <varlistentry id="libllvm">
|
---|
575 | <term><filename class="libraryfile">libLLVM-&llvm-version;.so</filename></term>
|
---|
576 | <listitem>
|
---|
577 | <para>
|
---|
578 | contains the <application>LLVM</application> API functions.
|
---|
579 | </para>
|
---|
580 | <indexterm zone="llvm libllvm">
|
---|
581 | <primary sortas="c-libllvm">libLLVM-&llvm-version;.so</primary>
|
---|
582 | </indexterm>
|
---|
583 | </listitem>
|
---|
584 | </varlistentry>
|
---|
585 | <!--
|
---|
586 | <varlistentry id="libprofile_rt">
|
---|
587 | <term><filename class="libraryfile">libprofile_rt.so</filename></term>
|
---|
588 | <listitem>
|
---|
589 | <para>
|
---|
590 | is the C, C++ and Objective-C runtime library for
|
---|
591 | <application>Clang</application>.
|
---|
592 | </para>
|
---|
593 | <indexterm zone="llvm libprofile_rt">
|
---|
594 | <primary sortas="c-libprofile_rt">libprofile_rt.so</primary>
|
---|
595 | </indexterm>
|
---|
596 | </listitem>
|
---|
597 | </varlistentry>-->
|
---|
598 |
|
---|
599 | </variablelist>
|
---|
600 |
|
---|
601 | </sect2>
|
---|
602 |
|
---|
603 | </sect1>
|
---|