source: general/prog/llvm.xml@ c8385bb7

10.0 10.1 11.0 11.1 11.2 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind lazarus perl-modules plabs/python-mods qt5new trunk upgradedb xry111/intltool xry111/soup3 xry111/test-20220226
Last change on this file since c8385bb7 was c8385bb7, checked in by Douglas R. Reno <renodr@…>, 5 years ago

Tags and some text updates

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@19079 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 28.8 KB
Line 
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 "a818e70321b91e2bb2d47e60edd5408f">
10 <!ENTITY llvm-size "20 MB">
11 <!ENTITY llvm-buildsize "1.8 GB (with Clang, add 8.2 GB for tests)">
12 <!ENTITY llvm-time "19 SBU (with Clang and parallelism=4, add 14 SBU for tests using 12 cores)">
13
14 <!ENTITY clang-download-http "http://llvm.org/releases/&llvm-version;/cfe-&llvm-version;.src.tar.xz">
15 <!ENTITY clang-md5sum "a6c7b3e953f8b93e252af5917df7db97">
16 <!ENTITY clang-size "11 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 "0227ac853ce422125f8bb08f6ad5c995">
21 <!ENTITY compiler-rt-size "1.4 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 new C, C++, Objective C and Objective
54 C++ front-ends and runtime libraries for the
55 <application>LLVM</application>.
56 </para>
57
58 &lfs81_checked;
59
60 <bridgehead renderas="sect3">Package Information</bridgehead>
61 <itemizedlist spacing="compact">
62 <listitem>
63 <para>
64 Download (HTTP): <ulink url="&llvm-download-http;"/>
65 </para>
66 </listitem>
67 <listitem>
68 <para>
69 Download (FTP): <ulink url="&llvm-download-ftp;"/>
70 </para>
71 </listitem>
72 <listitem>
73 <para>
74 Download MD5 sum: &llvm-md5sum;
75 </para>
76 </listitem>
77 <listitem>
78 <para>
79 Download size: &llvm-size;
80 </para>
81 </listitem>
82 <listitem>
83 <para>
84 Estimated disk space required: &llvm-buildsize;
85 </para>
86 </listitem>
87 <listitem>
88 <para>
89 Estimated build time: &llvm-time;
90 </para>
91 </listitem>
92 </itemizedlist>
93
94 <bridgehead renderas="sect3">Optional Downloads</bridgehead>
95
96 <bridgehead renderas="sect4">Clang</bridgehead>
97 <itemizedlist spacing="compact">
98 <listitem>
99 <para>
100 Download: <ulink url="&clang-download-http;"/>
101 </para>
102 </listitem>
103 <listitem>
104 <para>
105 Download MD5 sum: &clang-md5sum;
106 </para>
107 </listitem>
108 <listitem>
109 <para>
110 Download size: &clang-size;
111 </para>
112 </listitem>
113 </itemizedlist>
114
115 <bridgehead renderas="sect4">Compiler RT</bridgehead>
116 <itemizedlist spacing="compact">
117 <listitem>
118 <para>
119 Download: <ulink url="&compiler-rt-download-http;"/>
120 </para>
121 </listitem>
122 <listitem>
123 <para>
124 Download MD5 sum: &compiler-rt-md5sum;
125 </para>
126 </listitem>
127 <listitem>
128 <para>
129 Download size: &compiler-rt-size;
130 </para>
131 </listitem>
132 </itemizedlist>
133
134 <itemizedlist spacing="compact">
135 <listitem>
136 <para>
137 Optional patch:
138 <ulink url="&patch-root;/compiler-rt-4.0.1-glibc-2.26-1.patch"/>
139 (required if using compiler-rt)
140 </para>
141 </listitem>
142 </itemizedlist>
143
144 <bridgehead renderas="sect3">LLVM Dependencies</bridgehead>
145
146 <!-- cmake is now required -->
147 <bridgehead renderas="sect4">Required</bridgehead>
148 <para role="required">
149 <xref linkend="cmake"/>
150 </para>
151
152
153 <bridgehead renderas="sect4">Recommended</bridgehead>
154 <para role="recommended">
155 <xref linkend="libffi"/> and
156 <xref linkend="python2"/>
157 </para>
158
159 <bridgehead renderas="sect4">Optional</bridgehead>
160 <para role="optional">
161 <xref linkend="doxygen"/>,
162 <xref linkend="graphviz"/>,
163 <xref linkend="libxml2"/>,
164 <xref linkend="texlive"/> (or <xref linkend="tl-installer"/>),
165 <xref linkend="valgrind"/>,
166 <xref linkend="zip"/>,
167 <ulink url="http://www.ocaml.org/">OCaml</ulink>, and
168 <ulink url="https://pypi.python.org/pypi/Sphinx">Sphinx</ulink>
169 </para>
170
171 <para condition="html" role="usernotes">User Notes:
172 <ulink url="&blfs-wiki;/llvm"/>
173 </para>
174 </sect2>
175
176 <sect2 role="installation">
177 <title>Installation of LLVM</title>
178
179 <para>
180 If you have downloaded the optional packages, install them into
181 the source tree by running the following commands:
182 </para>
183
184<screen><userinput>tar -xf ../cfe-&llvm-version;.src.tar.xz -C tools &amp;&amp;
185tar -xf ../compiler-rt-&rt-version;.src.tar.xz -C projects &amp;&amp;
186
187mv tools/cfe-&llvm-version;.src tools/clang &amp;&amp;
188mv projects/compiler-rt-&rt-version;.src projects/compiler-rt
189
190patch -Np1 -d projects/compiler-rt &lt; ../compiler-rt-4.0.1-glibc-2.26-1.patch</userinput></screen>
191
192 <para>
193 Install <application>LLVM</application> by running the following
194 commands:
195 </para>
196
197<screen><userinput>mkdir -v build &amp;&amp;
198cd build &amp;&amp;
199
200CC=gcc CXX=g++ \
201cmake -DCMAKE_INSTALL_PREFIX=/usr \
202 -DLLVM_ENABLE_FFI=ON \
203 -DCMAKE_BUILD_TYPE=Release \
204 -DLLVM_BUILD_LLVM_DYLIB=ON \
205 -DLLVM_TARGETS_TO_BUILD="host;AMDGPU" \
206 -Wno-dev .. &amp;&amp;
207make</userinput></screen>
208
209 <para>
210 If you have installed <application>Sphinx</application> and wish
211 to generate the html documentation and manual pages, issue the
212 following commands:
213 </para>
214<screen><userinput>cmake -DLLVM_ENABLE_SPHINX=ON \
215 -DSPHINX_WARNINGS_AS_ERRORS=OFF \
216 -Wno-dev .. &amp;&amp;
217make docs-llvm-html docs-llvm-man</userinput></screen>
218 <para>
219 If you have downloaded the optional packages, the clang documentation
220 can be built too:
221 </para>
222<screen><userinput>make docs-clang-html docs-clang-man</userinput></screen>
223 <para>
224 To test the results, issue: <command>make check-all</command>. Tests are
225 run using the maximum number of processors/threads available.
226 Note that the Address Sanitizer tests are known to fail, and that
227 19 tests fail because of the removal of an obsolete header.
228<!-- Still true for v 3.9.1 -->
229 </para>
230
231 <para>
232 Now, as the <systemitem class="username">root</systemitem> user:
233 </para>
234
235<screen role="root"><userinput>make install</userinput></screen>
236
237 <para>
238 If you have built the documentation, install it by running the
239 following command as the <systemitem class="username">root</systemitem>
240 user:
241 </para>
242
243<screen role="root"><userinput>install -v -m644 docs/man/* /usr/share/man/man1 &amp;&amp;
244install -v -d -m755 /usr/share/doc/llvm-&llvm-version;/llvm-html &amp;&amp;
245cp -Rv docs/html/* /usr/share/doc/llvm-&llvm-version;/llvm-html</userinput></screen>
246
247 <para>
248 The clang documentation can be installed in the same way (again as the
249 <systemitem class="username">root</systemitem> user):
250 </para>
251
252<screen role="root"><userinput>install -v -m644 tools/clang/docs/man/* /usr/share/man/man1 &amp;&amp;
253install -v -d -m755 /usr/share/doc/llvm-&llvm-version;/clang-html &amp;&amp;
254cp -Rv tools/clang/docs/html/* /usr/share/doc/llvm-&llvm-version;/clang-html</userinput></screen>
255
256 </sect2>
257
258 <sect2 role="commands">
259 <title>Command Explanations</title>
260
261 <para>
262 <parameter>-DLLVM_ENABLE_FFI=ON</parameter>: This switch enables
263 <application>LLVM</application> to use
264 <application>libffi</application>. Remove if you did not
265 install <application>libffi</application>.
266 </para>
267
268 <para>
269 <parameter>-DLLVM_BUILD_LLVM_DYLIB=ON</parameter>: builds libraries as
270 static and links all of them into an unique shared one. This is the
271 recommended way of building a shared library.
272 </para>
273
274 <para>
275 <parameter>-DCMAKE_BUILD_TYPE=Release</parameter>: This switch enables
276 compiler optimizations in order to speed up the code and reduce its size.
277 It also disables some compile checks, not necessary on a production
278 system.
279 </para>
280
281 <para>
282 <parameter>-DLLVM_TARGETS_TO_BUILD="host;AMDGPU"</parameter>: This
283 switch enables building for the same target as the host, and also for
284 the r600 AMD GPU used by the Mesa r600 and radeonsi drivers. Default is
285 all. You can use a semicolon separated list. Valid targets are: host,
286 X86, Sparc, PowerPC, ARM, AArch64, Mips, Hexagon, Xcore, MSP430, NVPTX,
287 SystemZ, AMDGPU, BPF, CppBackend, or all.
288 </para>
289
290 <para>
291 <option>-DLLVM_LINK_LLVM_DYLIB=ON</option>: Used in conjunction with
292 <parameter>-DLLVM_BUILD_LLVM_DYLIB=ON</parameter>, this switch enables
293 linking the tools against the shared library instead of the static ones.
294 </para>
295
296 <para>
297 <option>-DBUILD_SHARED_LIBS=ON</option>: if used instead of
298 <parameter>-DLLVM_BUILD_LLVM_DYLIB=ON</parameter>, builds all the
299 <application>LLVM</application> libraries (about 60) as shared
300 libraries instead of static.
301 </para>
302
303 <para>
304 <option>-DLLVM_ENABLE_DOXYGEN</option>: Enables the generation of
305 browsable HTML documentation if you have installed <xref
306 linkend="doxygen"/>. You should run <command>make doxygen-html</command>
307 afterwards, and install the generated documentation manually.
308 </para>
309
310 </sect2>
311
312 <sect2 role="content">
313 <title>Contents</title>
314
315 <segmentedlist>
316 <segtitle>Installed Programs</segtitle>
317 <segtitle>Installed Libraries</segtitle>
318 <segtitle>Installed Directories</segtitle>
319
320 <seglistitem>
321 <seg>
322 bugpoint, c-index-test, clang, clang++ (symlinks to
323 clang-&lt;version&gt;), clang-&lt;version&gt;, clang-check, clang-cl,
324 clang-format, git-clang-format,
325 llc, lli, llvm-ar, llvm-as, llvm-bcanalyzer, llvm-config, llvm-cov,
326 llvm-c-test, llvm-cxxdump, llvm-diff, llvm-dis, llvm-dsymutil,
327 llvm-dwarfdump, llvm-dwp, llvm-extract, llvm-lib (symlink to
328 llvm-ar), llvm-link, llvm-lto, llvm-mc, llvm-mcmarkup, llvm-nm,
329 llvm-objdump, llvm-pdbdump, llvm-profdata, llvm-ranlib (symlink to
330 llvm-ar), llvm-readobj, llvm-rtdyld, llvm-size, llvm-split,
331 llvm-stress, llvm-symbolizer, llvm-tblgen, obj2yaml, opt, sancov,
332 sanstats, scan-build, scan-view, verify-uselistorder, and yaml2obj
333 </seg>
334 <seg>
335 BugpointPasses.so, LLVMHello.so, libLLVM.so, libLLVM*.a (57
336 libraries), libLTO.so, libclang.so and libclang*.a (24 libraries)
337 </seg>
338 <seg>
339 /usr/include/{clang,clang-c,llvm,llvm-c},
340 /usr/lib/{clang,cmake/{clang,llvm}} and
341 /usr/share/{clang,scan-build,scan-view,doc/llvm-&llvm-version;}
342 </seg>
343 </seglistitem>
344 </segmentedlist>
345
346 <variablelist>
347 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
348 <?dbfo list-presentation="list"?>
349 <?dbhtml list-presentation="table"?>
350
351 <varlistentry id="bugpoint">
352 <term><command>bugpoint</command></term>
353 <listitem>
354 <para>
355 is the automatic test case reduction tool.
356 </para>
357 <indexterm zone="llvm bugpoint">
358 <primary sortas="b-bugpoint">bugpoint</primary>
359 </indexterm>
360 </listitem>
361 </varlistentry>
362
363 <varlistentry id="clang">
364 <term><command>clang</command></term>
365 <listitem>
366 <para>
367 is the <application>Clang</application> C, C++,
368 and Objective-C compiler.
369 </para>
370 <indexterm zone="llvm clang">
371 <primary sortas="b-clang">clang</primary>
372 </indexterm>
373 </listitem>
374 </varlistentry>
375
376 <varlistentry id="clang-format">
377 <term><command>clang-format</command></term>
378 <listitem>
379 <para>
380 is a tool to format C/C++/Java/JavaScript/Objective-C/Protobuf
381 code.
382 </para>
383 <indexterm zone="llvm clang-format">
384 <primary sortas="b-clang-format">clang-format</primary>
385 </indexterm>
386 </listitem>
387 </varlistentry>
388
389 <varlistentry id="llc">
390 <term><command>llc</command></term>
391 <listitem>
392 <para>
393 is the <application>LLVM</application> static compiler.
394 </para>
395 <indexterm zone="llvm llc">
396 <primary sortas="b-llc">llc</primary>
397 </indexterm>
398 </listitem>
399 </varlistentry>
400
401 <varlistentry id="lli">
402 <term><command>lli</command></term>
403 <listitem>
404 <para>
405 is used to directly execute programs from
406 <application>LLVM</application> bitcode.
407 </para>
408 <indexterm zone="llvm lli">
409 <primary sortas="b-lli">lli</primary>
410 </indexterm>
411 </listitem>
412 </varlistentry>
413
414 <varlistentry id="llvm-ar">
415 <term><command>llvm-ar</command></term>
416 <listitem>
417 <para>
418 is the <application>LLVM</application> archiver.
419 </para>
420 <indexterm zone="llvm llvm-ar">
421 <primary sortas="b-llvm-ar">llvm-ar</primary>
422 </indexterm>
423 </listitem>
424 </varlistentry>
425
426 <varlistentry id="llvm-as">
427 <term><command>llvm-as</command></term>
428 <listitem>
429 <para>
430 is the <application>LLVM</application> assembler.
431 </para>
432 <indexterm zone="llvm llvm-as">
433 <primary sortas="b-llvm-as">llvm-as</primary>
434 </indexterm>
435 </listitem>
436 </varlistentry>
437
438 <varlistentry id="llvm-bcanalyzer">
439 <term><command>llvm-bcanalyzer</command></term>
440 <listitem>
441 <para>
442 is the <application>LLVM</application> bitcode analyzer.
443 </para>
444 <indexterm zone="llvm llvm-bcanalyzer">
445 <primary sortas="b-llvm-bcanalyzer">llvm-bcanalyzer</primary>
446 </indexterm>
447 </listitem>
448 </varlistentry>
449
450 <varlistentry id="llvm-config">
451 <term><command>llvm-config</command></term>
452 <listitem>
453 <para>
454 Prints <application>LLVM</application> compilation options.
455 </para>
456 <indexterm zone="llvm llvm-config">
457 <primary sortas="b-llvm-config">llvm-config</primary>
458 </indexterm>
459 </listitem>
460 </varlistentry>
461
462 <varlistentry id="llvm-cov">
463 <term><command>llvm-cov</command></term>
464 <listitem>
465 <para>
466 is used to emit coverage information.
467 </para>
468 <indexterm zone="llvm llvm-cov">
469 <primary sortas="b-llvm-cov">llvm-cov</primary>
470 </indexterm>
471 </listitem>
472 </varlistentry>
473
474 <varlistentry id="llvm-c-test">
475 <term><command>llvm-c-test</command></term>
476 <listitem>
477 <para>
478 is a bytecode disassembler.
479 </para>
480 <indexterm zone="llvm llvm-c-test">
481 <primary sortas="b-llvm-c-test">llvm-c-test</primary>
482 </indexterm>
483 </listitem>
484 </varlistentry>
485
486 <varlistentry id="llvm-cxxdump">
487 <term><command>llvm-cxxdump</command></term>
488 <listitem>
489 <para>
490 is used as a C++ ABI Data Dumper.
491 </para>
492 <indexterm zone="llvm llvm-cxxdump">
493 <primary sortas="b-llvm-cxxdump">llvm-cxxdump</primary>
494 </indexterm>
495 </listitem>
496 </varlistentry>
497
498 <varlistentry id="llvm-diff">
499 <term><command>llvm-diff</command></term>
500 <listitem>
501 <para>
502 is the <application>LLVM</application> structural
503 '<command>diff</command>'.
504 </para>
505 <indexterm zone="llvm llvm-diff">
506 <primary sortas="b-llvm-diff">llvm-diff</primary>
507 </indexterm>
508 </listitem>
509 </varlistentry>
510
511 <varlistentry id="llvm-dis">
512 <term><command>llvm-dis</command></term>
513 <listitem>
514 <para>
515 is the <application>LLVM</application> disassembler.
516 </para>
517 <indexterm zone="llvm llvm-dis">
518 <primary sortas="b-llvm-dis">llvm-dis</primary>
519 </indexterm>
520 </listitem>
521 </varlistentry>
522
523 <varlistentry id="llvm-dsymutil">
524 <term><command>llvm-dsymutil</command></term>
525 <listitem>
526 <para>
527 is a tool used to manipulate archived DWARF debug symbol files,
528 compatible with the Darwin command <command>dsymutil</command>.
529 </para>
530 <indexterm zone="llvm llvm-dsymutil">
531 <primary sortas="b-llvm-dsymutil">llvm-dsymutil</primary>
532 </indexterm>
533 </listitem>
534 </varlistentry>
535
536 <varlistentry id="llvm-dwarfdump">
537 <term><command>llvm-dwarfdump</command></term>
538 <listitem>
539 <para>
540 prints the content of DWARF sections in object files.
541 </para>
542 <indexterm zone="llvm llvm-dwarfdump">
543 <primary sortas="b-llvm-dwarfdump">llvm-dwarfdump</primary>
544 </indexterm>
545 </listitem>
546 </varlistentry>
547
548 <varlistentry id="llvm-dwp">
549 <term><command>llvm-dwp</command></term>
550 <listitem>
551 <para>
552 merges split DWARF files.
553 </para>
554 <indexterm zone="llvm llvm-dwp">
555 <primary sortas="b-llvm-dwp">llvm-dwp</primary>
556 </indexterm>
557 </listitem>
558 </varlistentry>
559
560 <varlistentry id="llvm-extract">
561 <term><command>llvm-extract</command></term>
562 <listitem>
563 <para>
564 is used to extract a function from an
565 <application>LLVM</application> module.
566 </para>
567 <indexterm zone="llvm llvm-extract">
568 <primary sortas="b-llvm-extract">llvm-extract</primary>
569 </indexterm>
570 </listitem>
571 </varlistentry>
572
573 <varlistentry id="llvm-link">
574 <term><command>llvm-link</command></term>
575 <listitem>
576 <para>
577 is the <application>LLVM</application> linker.
578 </para>
579 <indexterm zone="llvm llvm-link">
580 <primary sortas="b-llvm-link">llvm-link</primary>
581 </indexterm>
582 </listitem>
583 </varlistentry>
584
585 <varlistentry id="llvm-lto">
586 <term><command>llvm-lto</command></term>
587 <listitem>
588 <para>
589 is the <application>LLVM</application> LTO (link time optimization)
590 linker.
591 </para>
592 <indexterm zone="llvm llvm-lto">
593 <primary sortas="b-llvm-lto">llvm-lto</primary>
594 </indexterm>
595 </listitem>
596 </varlistentry>
597
598 <varlistentry id="llvm-mc">
599 <term><command>llvm-mc</command></term>
600 <listitem>
601 <para>
602 is a standalone machine code assembler/disassembler.
603 </para>
604 <indexterm zone="llvm llvm-mc">
605 <primary sortas="b-llvm-mc">llvm-mc</primary>
606 </indexterm>
607 </listitem>
608 </varlistentry>
609
610 <varlistentry id="llvm-nm">
611 <term><command>llvm-nm</command></term>
612 <listitem>
613 <para>
614 is used to list <application>LLVM</application> bitcode
615 and object file's symbol table.
616 </para>
617 <indexterm zone="llvm llvm-nm">
618 <primary sortas="b-llvm-nm">llvm-nm</primary>
619 </indexterm>
620 </listitem>
621 </varlistentry>
622
623 <varlistentry id="llvm-objdump">
624 <term><command>llvm-objdump</command></term>
625 <listitem>
626 <para>
627 is an <application>LLVM</application> object file dumper.
628 </para>
629 <indexterm zone="llvm llvm-objdump">
630 <primary sortas="b-llvm-objdump">llvm-objdump</primary>
631 </indexterm>
632 </listitem>
633 </varlistentry>
634
635 <varlistentry id="llvm-pdbdump">
636 <term><command>llvm-pdbdump</command></term>
637 <listitem>
638 <para>
639 is used as PDB Dumper.
640 </para>
641 <indexterm zone="llvm llvm-pdbdump">
642 <primary sortas="b-llvm-pdbdump">llvm-pdbdump</primary>
643 </indexterm>
644 </listitem>
645 </varlistentry>
646
647 <varlistentry id="llvm-profdata">
648 <term><command>llvm-profdata</command></term>
649 <listitem>
650 <para>
651 is a small tool to manipulate and print profile data files.
652 </para>
653 <indexterm zone="llvm llvm-profdata">
654 <primary sortas="b-llvm-profdata">llvm-profdata</primary>
655 </indexterm>
656 </listitem>
657 </varlistentry>
658
659 <varlistentry id="llvm-ranlib">
660 <term><command>llvm-ranlib</command></term>
661 <listitem>
662 <para>
663 is used to generate an index for a <application>LLVM</application>
664 archive.
665 </para>
666 <indexterm zone="llvm llvm-ranlib">
667 <primary sortas="b-llvm-ranlib">llvm-ranlib</primary>
668 </indexterm>
669 </listitem>
670 </varlistentry>
671
672 <varlistentry id="llvm-readobj">
673 <term><command>llvm-readobj</command></term>
674 <listitem>
675 <para>
676 displays low-level format-specific information about object files.
677 </para>
678 <indexterm zone="llvm llvm-readobj">
679 <primary sortas="b-llvm-readobj">llvm-readobj</primary>
680 </indexterm>
681 </listitem>
682 </varlistentry>
683
684 <varlistentry id="llvm-rtdyld">
685 <term><command>llvm-rtdyld</command></term>
686 <listitem>
687 <para>
688 is the <application>LLVM</application> MC-JIT tool.
689 </para>
690 <indexterm zone="llvm llvm-rtdyld">
691 <primary sortas="b-llvm-rtdyld">llvm-rtdyld</primary>
692 </indexterm>
693 </listitem>
694 </varlistentry>
695
696 <varlistentry id="llvm-size">
697 <term><command>llvm-size</command></term>
698 <listitem>
699 <para>
700 is the <application>LLVM</application> object size dumper.
701 </para>
702 <indexterm zone="llvm llvm-size">
703 <primary sortas="b-llvm-size">llvm-size</primary>
704 </indexterm>
705 </listitem>
706 </varlistentry>
707
708 <varlistentry id="llvm-split">
709 <term><command>llvm-split</command></term>
710 <listitem>
711 <para>
712 is the <application>LLVM</application> module splitter.
713 </para>
714 <indexterm zone="llvm llvm-split">
715 <primary sortas="b-llvm-split">llvm-split</primary>
716 </indexterm>
717 </listitem>
718 </varlistentry>
719
720 <varlistentry id="llvm-stress">
721 <term><command>llvm-stress</command></term>
722 <listitem>
723 <para>
724 is used to generate random
725 <filename class="extension">.ll</filename> files.
726 </para>
727 <indexterm zone="llvm llvm-stress">
728 <primary sortas="b-llvm-stress">llvm-stress</primary>
729 </indexterm>
730 </listitem>
731 </varlistentry>
732
733 <varlistentry id="llvm-symbolizer">
734 <term><command>llvm-symbolizer</command></term>
735 <listitem>
736 <para>
737 converts adresses into source code locations.
738 </para>
739 <indexterm zone="llvm llvm-symbolizer">
740 <primary sortas="b-llvm-symbolizer">llvm-symbolizer</primary>
741 </indexterm>
742 </listitem>
743 </varlistentry>
744
745 <varlistentry id="llvm-tblgen">
746 <term><command>llvm-tblgen</command></term>
747 <listitem>
748 <para>
749 is the <application>LLVM</application> Target Description
750 To C++ Code Generator.
751 </para>
752 <indexterm zone="llvm llvm-tblgen">
753 <primary sortas="b-llvm-tblgen">llvm-tblgen</primary>
754 </indexterm>
755 </listitem>
756 </varlistentry>
757
758 <varlistentry id="obj2yaml">
759 <term><command>obj2yaml</command></term>
760 <listitem>
761 <para>
762 takes an object file,and produces a YAML representation of the
763 file.
764 </para>
765 <indexterm zone="llvm obj2yaml">
766 <primary sortas="b-obj2yaml">obj2yaml</primary>
767 </indexterm>
768 </listitem>
769 </varlistentry>
770
771 <varlistentry id="opt">
772 <term><command>opt</command></term>
773 <listitem>
774 <para>
775 is the <application>LLVM</application> optimizer.
776 </para>
777 <indexterm zone="llvm opt">
778 <primary sortas="b-opt">opt</primary>
779 </indexterm>
780 </listitem>
781 </varlistentry>
782
783 <varlistentry id="sancov">
784 <term><command>sancov</command></term>
785 <listitem>
786 <para>
787 is the sanitizer coverage processing tool.
788 </para>
789 <indexterm zone="llvm sancov">
790 <primary sortas="b-sancov">sancov</primary>
791 </indexterm>
792 </listitem>
793 </varlistentry>
794
795 <varlistentry id="sanstats">
796 <term><command>sanstats</command></term>
797 <listitem>
798 <para>
799 is the sanitizer statistics processing tool.
800 </para>
801 <indexterm zone="llvm sanstats">
802 <primary sortas="b-sanstats">sanstats</primary>
803 </indexterm>
804 </listitem>
805 </varlistentry>
806
807 <varlistentry id="scan-build">
808 <term><command>scan-build</command></term>
809 <listitem>
810 <para>
811 is a <application>Perl</application> script that invokes the
812 <application>Clang</application> static analyzer.
813 </para>
814 <indexterm zone="llvm scan-build">
815 <primary sortas="b-scan-build">scan-build</primary>
816 </indexterm>
817 </listitem>
818 </varlistentry>
819
820 <varlistentry id="scan-view">
821 <term><command>scan-view</command></term>
822 <listitem>
823 <para>
824 is a viewer for <application>Clang</application> static analyzer
825 results.
826 </para>
827 <indexterm zone="llvm scan-view">
828 <primary sortas="b-scan-view">scan-view</primary>
829 </indexterm>
830 </listitem>
831 </varlistentry>
832
833 <varlistentry id="verify-uselistorder">
834 <term><command>verify-uselistorder</command></term>
835 <listitem>
836 <para>
837 is the <application>LLVM</application> tool to verify use-list
838 order.
839 </para>
840 <indexterm zone="llvm verify-uselistorder">
841 <primary sortas="b-verify-uselistorder">verify-uselistorder</primary>
842 </indexterm>
843 </listitem>
844 </varlistentry>
845
846 <varlistentry id="yaml2obj">
847 <term><command>yaml2obj</command></term>
848 <listitem>
849 <para>
850 takes a YAML representation of an object file and converts it
851 to a binary file.
852 </para>
853 <indexterm zone="llvm yaml2obj">
854 <primary sortas="b-yaml2obj">yaml2obj</primary>
855 </indexterm>
856 </listitem>
857 </varlistentry>
858<!--
859 <varlistentry id="libllvm">
860 <term><filename class="libraryfile">libLLVM-&llvm-version;.so</filename></term>
861 <listitem>
862 <para>
863 contains the <application>LLVM</application> API functions.
864 </para>
865 <indexterm zone="llvm libllvm">
866 <primary sortas="c-libllvm">libLLVM-&llvm-version;.so</primary>
867 </indexterm>
868 </listitem>
869 </varlistentry>
870
871 <varlistentry id="libprofile_rt">
872 <term><filename class="libraryfile">libprofile_rt.so</filename></term>
873 <listitem>
874 <para>
875 is the C, C++ and Objective-C runtime library for
876 <application>Clang</application>.
877 </para>
878 <indexterm zone="llvm libprofile_rt">
879 <primary sortas="c-libprofile_rt">libprofile_rt.so</primary>
880 </indexterm>
881 </listitem>
882 </varlistentry>-->
883
884 </variablelist>
885
886 </sect2>
887
888</sect1>
Note: See TracBrowser for help on using the repository browser.