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 tstellar-llvm "http://people.freedesktop.org/~tstellar/llvm/3.2">
|
---|
8 |
|
---|
9 | <!ENTITY llvm-download-http "http://llvm.org/releases/&llvm-version;/llvm-&llvm-version;.src.tar.gz">
|
---|
10 | <!ENTITY llvm-download-ftp " ">
|
---|
11 | <!ENTITY llvm-md5sum "71610289bbc819e3e15fdd562809a2d7">
|
---|
12 | <!ENTITY llvm-size "12 MB">
|
---|
13 | <!ENTITY llvm-buildsize "800 MB">
|
---|
14 | <!ENTITY llvm-time "13.0 SBU (Additional 7.0 SBU for Clang)">
|
---|
15 |
|
---|
16 | <!ENTITY clang-download-http "http://llvm.org/releases/&llvm-version;/clang-&llvm-version;.src.tar.gz">
|
---|
17 | <!ENTITY clang-md5sum "3896ef4334df08563b05d0848ba80582">
|
---|
18 | <!ENTITY clang-size "8.4 MB">
|
---|
19 |
|
---|
20 | <!ENTITY compiler-rt-download-http "http://llvm.org/releases/&llvm-version;/compiler-rt-&llvm-version;.src.tar.gz">
|
---|
21 | <!ENTITY compiler-rt-md5sum "a9a30ccd7bbee6f68a3ca3020af0d852">
|
---|
22 | <!ENTITY compiler-rt-size "1.4 MB">
|
---|
23 | ]>
|
---|
24 |
|
---|
25 | <sect1 id="llvm" xreflabel="LLVM-&llvm-version;">
|
---|
26 | <?dbhtml filename="llvm.html" ?>
|
---|
27 |
|
---|
28 | <sect1info>
|
---|
29 | <othername>$LastChangedBy$</othername>
|
---|
30 | <date>$Date$</date>
|
---|
31 | </sect1info>
|
---|
32 |
|
---|
33 | <title>LLVM-&llvm-version;</title>
|
---|
34 |
|
---|
35 | <indexterm zone="llvm">
|
---|
36 | <primary sortas="a-LLVM">LLVM</primary>
|
---|
37 | </indexterm>
|
---|
38 |
|
---|
39 | <sect2 role="package">
|
---|
40 | <title>Introduction to LLVM</title>
|
---|
41 |
|
---|
42 | <para>
|
---|
43 | The <application>LLVM</application> package contains a collection of modular and
|
---|
44 | reusable compiler and toolchain technologies. The Low Level Virtual Machine
|
---|
45 | (LLVM) Core libraries provide a modern source and target-independent optimizer,
|
---|
46 | along with code generation support for many popular CPUs (as well as some less
|
---|
47 | common ones!). These libraries are built around a well specified code
|
---|
48 | representation known as the LLVM intermediate representation ("LLVM IR").
|
---|
49 | </para>
|
---|
50 |
|
---|
51 | <para>
|
---|
52 | The optional <application>Clang</application> and <application>Compiler RT</application>
|
---|
53 | packages provide a new C, C++, Objective C and Objective C++ front-ends and runtime
|
---|
54 | libraries for the <application>LLVM</application>.
|
---|
55 | </para>
|
---|
56 |
|
---|
57 | &lfs73_checked;
|
---|
58 |
|
---|
59 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
60 | <itemizedlist spacing="compact">
|
---|
61 | <listitem>
|
---|
62 | <para>
|
---|
63 | Download (HTTP): <ulink url="&llvm-download-http;"/>
|
---|
64 | </para>
|
---|
65 | </listitem>
|
---|
66 | <listitem>
|
---|
67 | <para>
|
---|
68 | Download (FTP): <ulink url="&llvm-download-ftp;"/>
|
---|
69 | </para>
|
---|
70 | </listitem>
|
---|
71 | <listitem>
|
---|
72 | <para>
|
---|
73 | Download MD5 sum: &llvm-md5sum;
|
---|
74 | </para>
|
---|
75 | </listitem>
|
---|
76 | <listitem>
|
---|
77 | <para>
|
---|
78 | Download size: &llvm-size;
|
---|
79 | </para>
|
---|
80 | </listitem>
|
---|
81 | <listitem>
|
---|
82 | <para>
|
---|
83 | Estimated disk space required: &llvm-buildsize;
|
---|
84 | </para>
|
---|
85 | </listitem>
|
---|
86 | <listitem>
|
---|
87 | <para>
|
---|
88 | Estimated build time: &llvm-time;
|
---|
89 | </para>
|
---|
90 | </listitem>
|
---|
91 | </itemizedlist>
|
---|
92 |
|
---|
93 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
94 | <itemizedlist spacing="compact">
|
---|
95 | <listitem>
|
---|
96 | <para>
|
---|
97 | Required patch:
|
---|
98 | <ulink url="&patch-root;/llvm-&llvm-version;-blfs_paths-1.patch"/>
|
---|
99 | </para>
|
---|
100 | </listitem>
|
---|
101 | </itemizedlist>
|
---|
102 |
|
---|
103 | <bridgehead renderas="sect3">Recommended Patches</bridgehead>
|
---|
104 | <itemizedlist spacing="compact">
|
---|
105 | <listitem>
|
---|
106 | <para>
|
---|
107 | LLVM R600 Backend:
|
---|
108 | <ulink url="&tstellar-llvm;/R600-Mesa-9.1.patch"/>
|
---|
109 | </para>
|
---|
110 | </listitem>
|
---|
111 | <listitem>
|
---|
112 | <para>
|
---|
113 | LLVM R600 Backend MD5 sum: a6f9ec35fa847c4298213ab28fb868ce
|
---|
114 | </para>
|
---|
115 | </listitem>
|
---|
116 | <listitem>
|
---|
117 | <para>
|
---|
118 | LLVM R600 Backend Fixes:
|
---|
119 | <ulink url="&patch-root;/llvm-&llvm-version;-r600_fixes-1.patch"/>
|
---|
120 | </para>
|
---|
121 | </listitem>
|
---|
122 | </itemizedlist>
|
---|
123 |
|
---|
124 | <bridgehead renderas="sect3">Optional Downloads</bridgehead>
|
---|
125 | <itemizedlist spacing="compact">
|
---|
126 | <listitem>
|
---|
127 | <para>
|
---|
128 | Clang: <ulink url="&clang-download-http;"/>
|
---|
129 | </para>
|
---|
130 | </listitem>
|
---|
131 | <listitem>
|
---|
132 | <para>
|
---|
133 | Clang MD5 sum: &clang-md5sum;
|
---|
134 | </para>
|
---|
135 | </listitem>
|
---|
136 | <listitem>
|
---|
137 | <para>
|
---|
138 | Clang size: &clang-size;
|
---|
139 | </para>
|
---|
140 | </listitem>
|
---|
141 | <listitem>
|
---|
142 | <para>
|
---|
143 | Compiler RT: <ulink url="&compiler-rt-download-http;"/>
|
---|
144 | </para>
|
---|
145 | </listitem>
|
---|
146 | <listitem>
|
---|
147 | <para>
|
---|
148 | Compiler RT MD5 sum: &compiler-rt-md5sum;
|
---|
149 | </para>
|
---|
150 | </listitem>
|
---|
151 | <listitem>
|
---|
152 | <para>
|
---|
153 | Compiler RT size: &compiler-rt-size;
|
---|
154 | </para>
|
---|
155 | </listitem>
|
---|
156 | </itemizedlist>
|
---|
157 |
|
---|
158 | <warning>
|
---|
159 | <para>
|
---|
160 | If you are going to build radeonsi Gallium3D driver from
|
---|
161 | <xref linkend="mesalib"/>, you will need the recommended
|
---|
162 | patches.
|
---|
163 | </para>
|
---|
164 | </warning>
|
---|
165 |
|
---|
166 | <bridgehead renderas="sect3">LLVM Dependencies</bridgehead>
|
---|
167 |
|
---|
168 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
169 | <para role="recommended">
|
---|
170 | <xref linkend="libffi"/>
|
---|
171 | </para>
|
---|
172 |
|
---|
173 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
174 | <para role="optional">
|
---|
175 | <xref linkend="doxygen"/>,
|
---|
176 | <xref linkend="graphviz"/>,
|
---|
177 | <xref linkend="libxml2"/>,
|
---|
178 | <xref linkend="zip"/>,
|
---|
179 | <ulink url="http://www.ocaml.org/">OCaml</ulink>,
|
---|
180 | <ulink url="http://pypi.python.org/pypi/Sphinx">Sphinx</ulink> and
|
---|
181 | <ulink url="http://www.valgrind.org/">Valgrind</ulink>
|
---|
182 | </para>
|
---|
183 |
|
---|
184 | <para condition="html" role="usernotes">User Notes:
|
---|
185 | <ulink url="&blfs-wiki;/llvm"/>
|
---|
186 | </para>
|
---|
187 | </sect2>
|
---|
188 |
|
---|
189 | <sect2 role="installation">
|
---|
190 | <title>Installation of LLVM</title>
|
---|
191 |
|
---|
192 | <para>
|
---|
193 | If you have downloaded the optional packages, install them into
|
---|
194 | the source tree by running the following commands:
|
---|
195 | </para>
|
---|
196 |
|
---|
197 | <screen><userinput>tar -xf ../clang-&llvm-version;.src.tar.gz -C tools &&
|
---|
198 | tar -xf ../compiler-rt-&llvm-version;.src.tar.gz -C projects &&
|
---|
199 |
|
---|
200 | mv tools/clang-&llvm-version;.src tools/clang &&
|
---|
201 | mv projects/compiler-rt-&llvm-version;.src projects/compiler-rt &&
|
---|
202 |
|
---|
203 | sed -e "s@../lib/libprofile_rt.a@../lib/llvm/libprofile_rt.a@g" \
|
---|
204 | -i tools/clang/lib/Driver/Tools.cpp</userinput></screen>
|
---|
205 |
|
---|
206 | <para>
|
---|
207 | If you have downloaded the recommended patches, apply them by
|
---|
208 | running the following commands:
|
---|
209 | </para>
|
---|
210 |
|
---|
211 | <screen><userinput>patch -Np1 -i ../R600-Mesa-9.1.patch &&
|
---|
212 | patch -Np1 -i ../llvm-&llvm-version;-r600_fixes-1.patch</userinput></screen>
|
---|
213 |
|
---|
214 | <para>
|
---|
215 | Install <application>LLVM</application> by running the following
|
---|
216 | commands:
|
---|
217 | </para>
|
---|
218 |
|
---|
219 | <screen><userinput>patch -Np1 -i ../llvm-&llvm-version;-blfs_paths-1.patch &&
|
---|
220 | CC=gcc CXX=g++ \
|
---|
221 | ./configure --prefix=/usr \
|
---|
222 | --sysconfdir=/etc \
|
---|
223 | --libdir=/usr/lib/llvm \
|
---|
224 | --enable-libffi \
|
---|
225 | --enable-optimized \
|
---|
226 | --enable-shared \
|
---|
227 | --enable-targets=all \
|
---|
228 | --disable-assertions \
|
---|
229 | --disable-debug-runtime \
|
---|
230 | --disable-expensive-checks \
|
---|
231 | --enable-experimental-targets=R600 &&
|
---|
232 | make</userinput></screen>
|
---|
233 |
|
---|
234 | <para>
|
---|
235 | If you have installed <application>Sphinx</application> and wish
|
---|
236 | to generate manual pages, issue the following command:
|
---|
237 | </para>
|
---|
238 |
|
---|
239 | <screen><userinput>make -C docs -f Makefile.sphinx man</userinput></screen>
|
---|
240 |
|
---|
241 | <para>
|
---|
242 | To test the results, issue: <command>make check</command>.
|
---|
243 | </para>
|
---|
244 |
|
---|
245 | <para>
|
---|
246 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
247 | </para>
|
---|
248 |
|
---|
249 | <screen role="root"><userinput>make install &&
|
---|
250 | chmod -v 644 /usr/lib/llvm/*.a &&
|
---|
251 | echo /usr/lib/llvm >> /etc/ld.so.conf &&
|
---|
252 | ldconfig</userinput></screen>
|
---|
253 |
|
---|
254 | <para>
|
---|
255 | If you have built manual pages, install them by running the
|
---|
256 | following command as the
|
---|
257 | <systemitem class="username">root</systemitem> user:
|
---|
258 | </para>
|
---|
259 |
|
---|
260 | <screen role="root"><userinput>install -m644 docs/_build/man/* /usr/share/man/man1</userinput></screen>
|
---|
261 |
|
---|
262 | </sect2>
|
---|
263 |
|
---|
264 | <sect2 role="commands">
|
---|
265 | <title>Command Explanations</title>
|
---|
266 |
|
---|
267 | <para>
|
---|
268 | <parameter>--enable-libffi</parameter>: This switch enables
|
---|
269 | <application>LLVM</application> to use
|
---|
270 | <application>libffi</application>. Remove if you did not
|
---|
271 | install <application>libffi</application>.
|
---|
272 | </para>
|
---|
273 |
|
---|
274 | <para>
|
---|
275 | <parameter>--enable-optimized</parameter>: This switch enables
|
---|
276 | compiler optimizations in order to speed up the code and reduce
|
---|
277 | its size.
|
---|
278 | </para>
|
---|
279 |
|
---|
280 | <para>
|
---|
281 | <parameter>--enable-shared</parameter>: This switch enables
|
---|
282 | building of the <application>LLVM</application> shared
|
---|
283 | library which contains all of static libraries linked into
|
---|
284 | single library.
|
---|
285 | </para>
|
---|
286 |
|
---|
287 | <para>
|
---|
288 | <parameter>--enable-targets=all</parameter>: This switch ensures
|
---|
289 | that all <application>LLVM</application> targets are built.
|
---|
290 | </para>
|
---|
291 |
|
---|
292 | <para>
|
---|
293 | <parameter>--disable-*</parameter>: These switches disable
|
---|
294 | features which are used for debugging and are not necesary
|
---|
295 | on a production system.
|
---|
296 | </para>
|
---|
297 |
|
---|
298 | <para>
|
---|
299 | <parameter>--enable-experimental-targets=R600</parameter>:
|
---|
300 | This switch enables R600 target which is required by
|
---|
301 | <application>Mesa</application> to build the radeonsi
|
---|
302 | 3D driver. It can be used for r600
|
---|
303 | <application>LLVM</application> backend and OpenCL
|
---|
304 | state tracker in <application>Mesa</application>. Remove
|
---|
305 | it if you did not apply the recommended patches.
|
---|
306 | </para>
|
---|
307 |
|
---|
308 | </sect2>
|
---|
309 |
|
---|
310 | <sect2 role="content">
|
---|
311 | <title>Contents</title>
|
---|
312 |
|
---|
313 | <segmentedlist>
|
---|
314 | <segtitle>Installed Programs</segtitle>
|
---|
315 | <segtitle>Installed Libraries</segtitle>
|
---|
316 | <segtitle>Installed Directories</segtitle>
|
---|
317 |
|
---|
318 | <seglistitem>
|
---|
319 | <seg>
|
---|
320 | bugpoint, c-index-test, clang, clang++, clang-check, clang-tblgen, llc, lli,
|
---|
321 | llvm-ar, llvm-as, llvm-bcanalyzer, llvm-config, llvm-cov, llvm-diff, llvm-dis,
|
---|
322 | llvm-dwarfdump, llvm-extract, llvm-link, llvm-mc, llvm-mcmarkup, llvm-nm,
|
---|
323 | llvm-objdump, llvm-prof, llvm-ranlib, llvm-readobj, llvm-rtdyld, llvm-size,
|
---|
324 | llvm-stress, llvm-tblgen, macho-dump and opt
|
---|
325 | </seg>
|
---|
326 | <seg>
|
---|
327 | libclang.so, libLLVM-&llvm-version;.so, libprofile_rt.so
|
---|
328 | and numerous libraries in /usr/lib/llvm
|
---|
329 | </seg>
|
---|
330 | <seg>
|
---|
331 | /usr/include/clang,
|
---|
332 | /usr/include/clang-c,
|
---|
333 | /usr/include/llvm,
|
---|
334 | /usr/include/llvm-c,
|
---|
335 | /usr/lib/clang,
|
---|
336 | /usr/lib/llvm and
|
---|
337 | /usr/share/doc/llvm
|
---|
338 | </seg>
|
---|
339 | </seglistitem>
|
---|
340 | </segmentedlist>
|
---|
341 |
|
---|
342 | <variablelist>
|
---|
343 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
344 | <?dbfo list-presentation="list"?>
|
---|
345 | <?dbhtml list-presentation="table"?>
|
---|
346 |
|
---|
347 | <varlistentry id="bugpoint">
|
---|
348 | <term><command>bugpoint</command></term>
|
---|
349 | <listitem>
|
---|
350 | <para>
|
---|
351 | is the automatic test case reduction tool.
|
---|
352 | </para>
|
---|
353 | <indexterm zone="llvm bugpoint">
|
---|
354 | <primary sortas="b-bugpoint">bugpoint</primary>
|
---|
355 | </indexterm>
|
---|
356 | </listitem>
|
---|
357 | </varlistentry>
|
---|
358 |
|
---|
359 | <varlistentry id="clang">
|
---|
360 | <term><command>clang</command></term>
|
---|
361 | <listitem>
|
---|
362 | <para>
|
---|
363 | is the <application>Clang</application> C, C++,
|
---|
364 | and Objective-C compiler.
|
---|
365 | </para>
|
---|
366 | <indexterm zone="llvm clang">
|
---|
367 | <primary sortas="b-clang">clang</primary>
|
---|
368 | </indexterm>
|
---|
369 | </listitem>
|
---|
370 | </varlistentry>
|
---|
371 |
|
---|
372 | <varlistentry id="llc">
|
---|
373 | <term><command>llc</command></term>
|
---|
374 | <listitem>
|
---|
375 | <para>
|
---|
376 | is the <application>LLVM</application> static compiler.
|
---|
377 | </para>
|
---|
378 | <indexterm zone="llvm llc">
|
---|
379 | <primary sortas="b-llc">llc</primary>
|
---|
380 | </indexterm>
|
---|
381 | </listitem>
|
---|
382 | </varlistentry>
|
---|
383 |
|
---|
384 | <varlistentry id="lli">
|
---|
385 | <term><command>lli</command></term>
|
---|
386 | <listitem>
|
---|
387 | <para>
|
---|
388 | is used to directly execute programs from
|
---|
389 | <application>LLVM</application> bitcode.
|
---|
390 | </para>
|
---|
391 | <indexterm zone="llvm lli">
|
---|
392 | <primary sortas="b-lli">lli</primary>
|
---|
393 | </indexterm>
|
---|
394 | </listitem>
|
---|
395 | </varlistentry>
|
---|
396 |
|
---|
397 | <varlistentry id="llvm-ar">
|
---|
398 | <term><command>llvm-ar</command></term>
|
---|
399 | <listitem>
|
---|
400 | <para>
|
---|
401 | is the <application>LLVM</application> archiver.
|
---|
402 | </para>
|
---|
403 | <indexterm zone="llvm llvm-ar">
|
---|
404 | <primary sortas="b-llvm-ar">llvm-ar</primary>
|
---|
405 | </indexterm>
|
---|
406 | </listitem>
|
---|
407 | </varlistentry>
|
---|
408 |
|
---|
409 | <varlistentry id="llvm-as">
|
---|
410 | <term><command>llvm-as</command></term>
|
---|
411 | <listitem>
|
---|
412 | <para>
|
---|
413 | is the <application>LLVM</application> assembler.
|
---|
414 | </para>
|
---|
415 | <indexterm zone="llvm llvm-as">
|
---|
416 | <primary sortas="b-llvm-as">llvm-as</primary>
|
---|
417 | </indexterm>
|
---|
418 | </listitem>
|
---|
419 | </varlistentry>
|
---|
420 |
|
---|
421 | <varlistentry id="llvm-bcanalyzer">
|
---|
422 | <term><command>llvm-bcanalyzer</command></term>
|
---|
423 | <listitem>
|
---|
424 | <para>
|
---|
425 | is the <application>LLVM</application> bitcode analyzer.
|
---|
426 | </para>
|
---|
427 | <indexterm zone="llvm llvm-bcanalyzer">
|
---|
428 | <primary sortas="b-llvm-bcanalyzer">llvm-bcanalyzer</primary>
|
---|
429 | </indexterm>
|
---|
430 | </listitem>
|
---|
431 | </varlistentry>
|
---|
432 |
|
---|
433 | <varlistentry id="llvm-config">
|
---|
434 | <term><command>llvm-config</command></term>
|
---|
435 | <listitem>
|
---|
436 | <para>
|
---|
437 | Prints <application>LLVM</application> compilation options.
|
---|
438 | </para>
|
---|
439 | <indexterm zone="llvm llvm-config">
|
---|
440 | <primary sortas="b-llvm-config">llvm-config</primary>
|
---|
441 | </indexterm>
|
---|
442 | </listitem>
|
---|
443 | </varlistentry>
|
---|
444 |
|
---|
445 | <varlistentry id="llvm-cov">
|
---|
446 | <term><command>llvm-cov</command></term>
|
---|
447 | <listitem>
|
---|
448 | <para>
|
---|
449 | is used to emit coverage information.
|
---|
450 | </para>
|
---|
451 | <indexterm zone="llvm llvm-cov">
|
---|
452 | <primary sortas="b-llvm-cov">llvm-cov</primary>
|
---|
453 | </indexterm>
|
---|
454 | </listitem>
|
---|
455 | </varlistentry>
|
---|
456 |
|
---|
457 | <varlistentry id="llvm-diff">
|
---|
458 | <term><command>llvm-diff</command></term>
|
---|
459 | <listitem>
|
---|
460 | <para>
|
---|
461 | is the <application>LLVM</application> structural
|
---|
462 | '<command>diff</command>'.
|
---|
463 | </para>
|
---|
464 | <indexterm zone="llvm llvm-diff">
|
---|
465 | <primary sortas="b-llvm-diff">llvm-diff</primary>
|
---|
466 | </indexterm>
|
---|
467 | </listitem>
|
---|
468 | </varlistentry>
|
---|
469 |
|
---|
470 | <varlistentry id="llvm-dis">
|
---|
471 | <term><command>llvm-dis</command></term>
|
---|
472 | <listitem>
|
---|
473 | <para>
|
---|
474 | is the <application>LLVM</application> disassembler.
|
---|
475 | </para>
|
---|
476 | <indexterm zone="llvm llvm-dis">
|
---|
477 | <primary sortas="b-llvm-dis">llvm-dis</primary>
|
---|
478 | </indexterm>
|
---|
479 | </listitem>
|
---|
480 | </varlistentry>
|
---|
481 |
|
---|
482 | <varlistentry id="llvm-extract">
|
---|
483 | <term><command>llvm-extract</command></term>
|
---|
484 | <listitem>
|
---|
485 | <para>
|
---|
486 | is used to extract a function from an
|
---|
487 | <application>LLVM</application> module.
|
---|
488 | </para>
|
---|
489 | <indexterm zone="llvm llvm-extract">
|
---|
490 | <primary sortas="b-llvm-extract">llvm-extract</primary>
|
---|
491 | </indexterm>
|
---|
492 | </listitem>
|
---|
493 | </varlistentry>
|
---|
494 |
|
---|
495 | <varlistentry id="llvm-link">
|
---|
496 | <term><command>llvm-link</command></term>
|
---|
497 | <listitem>
|
---|
498 | <para>
|
---|
499 | is the <application>LLVM</application> linker.
|
---|
500 | </para>
|
---|
501 | <indexterm zone="llvm llvm-link">
|
---|
502 | <primary sortas="b-llvm-link">llvm-link</primary>
|
---|
503 | </indexterm>
|
---|
504 | </listitem>
|
---|
505 | </varlistentry>
|
---|
506 |
|
---|
507 | <varlistentry id="llvm-nm">
|
---|
508 | <term><command>llvm-nm</command></term>
|
---|
509 | <listitem>
|
---|
510 | <para>
|
---|
511 | is used to list <application>LLVM</application> bitcode
|
---|
512 | and object file's symbol table.
|
---|
513 | </para>
|
---|
514 | <indexterm zone="llvm llvm-nm">
|
---|
515 | <primary sortas="b-llvm-nm">llvm-nm</primary>
|
---|
516 | </indexterm>
|
---|
517 | </listitem>
|
---|
518 | </varlistentry>
|
---|
519 |
|
---|
520 | <varlistentry id="llvm-prof">
|
---|
521 | <term><command>llvm-prof</command></term>
|
---|
522 | <listitem>
|
---|
523 | <para>
|
---|
524 | is used to print execution profile of
|
---|
525 | <application>LLVM</application> program.
|
---|
526 | </para>
|
---|
527 | <indexterm zone="llvm llvm-prof">
|
---|
528 | <primary sortas="b-llvm-prof">llvm-prof</primary>
|
---|
529 | </indexterm>
|
---|
530 | </listitem>
|
---|
531 | </varlistentry>
|
---|
532 |
|
---|
533 | <varlistentry id="llvm-ranlib">
|
---|
534 | <term><command>llvm-ranlib</command></term>
|
---|
535 | <listitem>
|
---|
536 | <para>
|
---|
537 | is used to generate index for <application>LLVM</application>
|
---|
538 | archive.
|
---|
539 | </para>
|
---|
540 | <indexterm zone="llvm llvm-ranlib">
|
---|
541 | <primary sortas="b-llvm-ranlib">llvm-ranlib</primary>
|
---|
542 | </indexterm>
|
---|
543 | </listitem>
|
---|
544 | </varlistentry>
|
---|
545 |
|
---|
546 | <varlistentry id="llvm-stress">
|
---|
547 | <term><command>llvm-stress</command></term>
|
---|
548 | <listitem>
|
---|
549 | <para>
|
---|
550 | is used to generate random
|
---|
551 | <filename class="extension">.ll</filename> files.
|
---|
552 | </para>
|
---|
553 | <indexterm zone="llvm llvm-stress">
|
---|
554 | <primary sortas="b-llvm-stress">llvm-stress</primary>
|
---|
555 | </indexterm>
|
---|
556 | </listitem>
|
---|
557 | </varlistentry>
|
---|
558 |
|
---|
559 | <varlistentry id="llvm-tblgen">
|
---|
560 | <term><command>llvm-tblgen</command></term>
|
---|
561 | <listitem>
|
---|
562 | <para>
|
---|
563 | is the <application>LLVM</application> Target Description
|
---|
564 | To C++ Code Generator.
|
---|
565 | </para>
|
---|
566 | <indexterm zone="llvm llvm-tblgen">
|
---|
567 | <primary sortas="b-llvm-tblgen">llvm-tblgen</primary>
|
---|
568 | </indexterm>
|
---|
569 | </listitem>
|
---|
570 | </varlistentry>
|
---|
571 |
|
---|
572 | <varlistentry id="opt">
|
---|
573 | <term><command>opt</command></term>
|
---|
574 | <listitem>
|
---|
575 | <para>
|
---|
576 | is the <application>LLVM</application> optimizer.
|
---|
577 | </para>
|
---|
578 | <indexterm zone="llvm opt">
|
---|
579 | <primary sortas="b-opt">opt</primary>
|
---|
580 | </indexterm>
|
---|
581 | </listitem>
|
---|
582 | </varlistentry>
|
---|
583 |
|
---|
584 | <varlistentry id="libllvm">
|
---|
585 | <term><filename class="libraryfile">libLLVM-&llvm-version;.so</filename></term>
|
---|
586 | <listitem>
|
---|
587 | <para>
|
---|
588 | contains the <application>LLVM</application> API functions.
|
---|
589 | </para>
|
---|
590 | <indexterm zone="llvm libllvm">
|
---|
591 | <primary sortas="c-libllvm">libLLVM-&llvm-version;.so</primary>
|
---|
592 | </indexterm>
|
---|
593 | </listitem>
|
---|
594 | </varlistentry>
|
---|
595 |
|
---|
596 | <varlistentry id="libprofile_rt">
|
---|
597 | <term><filename class="libraryfile">libprofile_rt.so</filename></term>
|
---|
598 | <listitem>
|
---|
599 | <para>
|
---|
600 | is the C, C++ and Objective-C runtime library for
|
---|
601 | <application>Clang</application>.
|
---|
602 | </para>
|
---|
603 | <indexterm zone="llvm libprofile_rt">
|
---|
604 | <primary sortas="c-libprofile_rt">libprofile_rt.so</primary>
|
---|
605 | </indexterm>
|
---|
606 | </listitem>
|
---|
607 | </varlistentry>
|
---|
608 |
|
---|
609 | </variablelist>
|
---|
610 |
|
---|
611 | </sect2>
|
---|
612 |
|
---|
613 | </sect1>
|
---|
614 |
|
---|