[7b74537e] | 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 |
|
---|
[a6221fd] | 7 | <!ENTITY llvm-download-http "http://llvm.org/releases/&llvm-version;/llvm-&llvm-version;.src.tar.xz">
|
---|
[abdc2e6] | 8 | <!ENTITY llvm-download-ftp " ">
|
---|
[c10e2d2] | 9 | <!ENTITY llvm-md5sum "2d3d8004f38852aa679e5945b8ce0b14">
|
---|
[a6221fd] | 10 | <!ENTITY llvm-size "12 MB">
|
---|
[c10e2d2] | 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">
|
---|
[a6221fd] | 13 |
|
---|
| 14 | <!ENTITY clang-download-http "http://llvm.org/releases/&llvm-version;/cfe-&llvm-version;.src.tar.xz">
|
---|
[c10e2d2] | 15 | <!ENTITY clang-md5sum "93f9532f8f7e6f1d8e5c1116907051cb">
|
---|
[a6221fd] | 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">
|
---|
[c10e2d2] | 20 | <!ENTITY compiler-rt-md5sum "d626cfb8a9712cb92b820798ab5bc1f8">
|
---|
[a6221fd] | 21 | <!ENTITY compiler-rt-size "1.1 MB">
|
---|
[7b74537e] | 22 | ]>
|
---|
| 23 |
|
---|
[abdc2e6] | 24 | <sect1 id="llvm" xreflabel="LLVM-&llvm-version;">
|
---|
[7b74537e] | 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 |
|
---|
[abdc2e6] | 41 | <para>
|
---|
[a6221fd] | 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").
|
---|
[abdc2e6] | 49 | </para>
|
---|
[f36bebcd] | 50 |
|
---|
[abdc2e6] | 51 | <para>
|
---|
[a6221fd] | 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>.
|
---|
[abdc2e6] | 56 | </para>
|
---|
[7b74537e] | 57 |
|
---|
[efe8031e] | 58 | <note>
|
---|
| 59 | <para>
|
---|
[a85c6ce] | 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
|
---|
[efe8031e] | 62 | these versions. See <xref linkend="gcc"/>
|
---|
| 63 | for <application>gcc</application> installation instructions.
|
---|
| 64 | </para>
|
---|
| 65 | </note>
|
---|
| 66 |
|
---|
[863f350] | 67 | &lfs77_checked;
|
---|
[7b74537e] | 68 |
|
---|
| 69 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 70 | <itemizedlist spacing="compact">
|
---|
| 71 | <listitem>
|
---|
[abdc2e6] | 72 | <para>
|
---|
| 73 | Download (HTTP): <ulink url="&llvm-download-http;"/>
|
---|
| 74 | </para>
|
---|
[7b74537e] | 75 | </listitem>
|
---|
| 76 | <listitem>
|
---|
[abdc2e6] | 77 | <para>
|
---|
| 78 | Download (FTP): <ulink url="&llvm-download-ftp;"/>
|
---|
| 79 | </para>
|
---|
[7b74537e] | 80 | </listitem>
|
---|
| 81 | <listitem>
|
---|
[abdc2e6] | 82 | <para>
|
---|
| 83 | Download MD5 sum: &llvm-md5sum;
|
---|
| 84 | </para>
|
---|
[7b74537e] | 85 | </listitem>
|
---|
| 86 | <listitem>
|
---|
[abdc2e6] | 87 | <para>
|
---|
| 88 | Download size: &llvm-size;
|
---|
| 89 | </para>
|
---|
[7b74537e] | 90 | </listitem>
|
---|
| 91 | <listitem>
|
---|
[abdc2e6] | 92 | <para>
|
---|
| 93 | Estimated disk space required: &llvm-buildsize;
|
---|
| 94 | </para>
|
---|
[7b74537e] | 95 | </listitem>
|
---|
| 96 | <listitem>
|
---|
[abdc2e6] | 97 | <para>
|
---|
| 98 | Estimated build time: &llvm-time;
|
---|
| 99 | </para>
|
---|
[7b74537e] | 100 | </listitem>
|
---|
| 101 | </itemizedlist>
|
---|
| 102 |
|
---|
[abdc2e6] | 103 | <bridgehead renderas="sect3">Optional Downloads</bridgehead>
|
---|
[f36bebcd] | 104 |
|
---|
[70251fc] | 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>
|
---|
[1f44775e] | 142 |
|
---|
[7b74537e] | 143 | <bridgehead renderas="sect3">LLVM Dependencies</bridgehead>
|
---|
| 144 |
|
---|
[f36bebcd] | 145 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 146 | <para role="recommended">
|
---|
[70251fc] | 147 | <xref linkend="libffi"/> and
|
---|
| 148 | <xref linkend="python2"/>
|
---|
[f36bebcd] | 149 | </para>
|
---|
| 150 |
|
---|
[7b74537e] | 151 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 152 | <para role="optional">
|
---|
[a6221fd] | 153 | <xref linkend="cmake"/>,
|
---|
[abdc2e6] | 154 | <xref linkend="doxygen"/>,
|
---|
| 155 | <xref linkend="graphviz"/>,
|
---|
| 156 | <xref linkend="libxml2"/>,
|
---|
[2d98031c] | 157 | <xref linkend="texlive"/> (or <xref linkend="tl-installer"/>),
|
---|
[a6221fd] | 158 | <xref linkend="valgrind"/>,
|
---|
[abdc2e6] | 159 | <xref linkend="zip"/>,
|
---|
[a6221fd] | 160 | <ulink url="http://www.ocaml.org/">OCaml</ulink>, and
|
---|
| 161 | <ulink url="http://pypi.python.org/pypi/Sphinx">Sphinx</ulink>
|
---|
[7b74537e] | 162 | </para>
|
---|
| 163 |
|
---|
| 164 | <para condition="html" role="usernotes">User Notes:
|
---|
[abdc2e6] | 165 | <ulink url="&blfs-wiki;/llvm"/>
|
---|
| 166 | </para>
|
---|
[7b74537e] | 167 | </sect2>
|
---|
| 168 |
|
---|
| 169 | <sect2 role="installation">
|
---|
| 170 | <title>Installation of LLVM</title>
|
---|
| 171 |
|
---|
[abdc2e6] | 172 | <para>
|
---|
| 173 | If you have downloaded the optional packages, install them into
|
---|
| 174 | the source tree by running the following commands:
|
---|
| 175 | </para>
|
---|
[f36bebcd] | 176 |
|
---|
[097fd436] | 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 &&
|
---|
[f36bebcd] | 179 |
|
---|
[7e16699b] | 180 | mv tools/cfe-&llvm-version;.src tools/clang &&
|
---|
[a6221fd] | 181 | mv projects/compiler-rt-&rt-version;.src projects/compiler-rt</userinput></screen>
|
---|
[5889b252] | 182 |
|
---|
[abdc2e6] | 183 | <para>
|
---|
| 184 | Install <application>LLVM</application> by running the following
|
---|
| 185 | commands:
|
---|
| 186 | </para>
|
---|
| 187 |
|
---|
[5d4a086a] | 188 | <screen><userinput>sed -e "s:/docs/llvm:/share/doc/llvm-&llvm-version;:" \
|
---|
[70251fc] | 189 | -i Makefile.config.in &&
|
---|
[7e16699b] | 190 |
|
---|
[a85c6ce] | 191 | CC=gcc CXX=g++ \
|
---|
| 192 | ./configure --prefix=/usr \
|
---|
| 193 | --sysconfdir=/etc \
|
---|
| 194 | --enable-libffi \
|
---|
| 195 | --enable-optimized \
|
---|
| 196 | --enable-shared \
|
---|
| 197 | --disable-assertions &&
|
---|
[7b74537e] | 198 | make</userinput></screen>
|
---|
| 199 |
|
---|
[abdc2e6] | 200 | <para>
|
---|
| 201 | If you have installed <application>Sphinx</application> and wish
|
---|
| 202 | to generate manual pages, issue the following command:
|
---|
| 203 | </para>
|
---|
[7b74537e] | 204 |
|
---|
[abdc2e6] | 205 | <screen><userinput>make -C docs -f Makefile.sphinx man</userinput></screen>
|
---|
[7b74537e] | 206 |
|
---|
[abdc2e6] | 207 | <para>
|
---|
| 208 | To test the results, issue: <command>make check</command>.
|
---|
| 209 | </para>
|
---|
[7b74537e] | 210 |
|
---|
[abdc2e6] | 211 | <para>
|
---|
| 212 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 213 | </para>
|
---|
[7b74537e] | 214 |
|
---|
[abdc2e6] | 215 | <screen role="root"><userinput>make install &&
|
---|
[7e16699b] | 216 |
|
---|
[62c6b643] | 217 | for file in /usr/lib/lib{clang,LLVM,LTO}*.a
|
---|
[70251fc] | 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 &&
|
---|
[863f350] | 231 |
|
---|
[70251fc] | 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 &&
|
---|
[863f350] | 237 |
|
---|
[70251fc] | 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>
|
---|
[7b74537e] | 240 |
|
---|
[abdc2e6] | 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 |
|
---|
[70251fc] | 247 | <screen role="root"><userinput>install -v -m644 docs/_build/man/* /usr/share/man/man1/</userinput></screen>
|
---|
[7b74537e] | 248 |
|
---|
| 249 | </sect2>
|
---|
[abdc2e6] | 250 |
|
---|
[5889b252] | 251 | <sect2 role="commands">
|
---|
| 252 | <title>Command Explanations</title>
|
---|
| 253 |
|
---|
[70251fc] | 254 | <para>
|
---|
[a6221fd] | 255 | <command>sed -e ... Makefile.config.in</command>: This sed fixes
|
---|
| 256 | location of the installed documentation.
|
---|
| 257 | </para>
|
---|
| 258 |
|
---|
[5889b252] | 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>
|
---|
[62c6b643] | 280 | <parameter>--disable-assertions</parameter>: Disable some compile checks,
|
---|
| 281 | not necessary on a production system.
|
---|
[5889b252] | 282 | </para>
|
---|
| 283 |
|
---|
| 284 | </sect2>
|
---|
| 285 |
|
---|
[7b74537e] | 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>
|
---|
[abdc2e6] | 295 | <seg>
|
---|
[a6221fd] | 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)
|
---|
[abdc2e6] | 304 | </seg>
|
---|
| 305 | <seg>
|
---|
[70251fc] | 306 | BugpointPasses.so, libclang.so, libLLVM-&llvm-version;.so,
|
---|
[0f5ca44] | 307 | libLTO.so,<!-- libprofile_rt.so,--> LLVMHello.so and numerous
|
---|
[70251fc] | 308 | static libraries in /usr/lib
|
---|
[abdc2e6] | 309 | </seg>
|
---|
| 310 | <seg>
|
---|
[a6221fd] | 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
|
---|
[abdc2e6] | 315 | </seg>
|
---|
[7b74537e] | 316 | </seglistitem>
|
---|
| 317 | </segmentedlist>
|
---|
[abdc2e6] | 318 |
|
---|
[7b74537e] | 319 | <variablelist>
|
---|
| 320 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 321 | <?dbfo list-presentation="list"?>
|
---|
| 322 | <?dbhtml list-presentation="table"?>
|
---|
| 323 |
|
---|
[abdc2e6] | 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>
|
---|
[7b74537e] | 338 | <listitem>
|
---|
[abdc2e6] | 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>
|
---|
[7b74537e] | 345 | </indexterm>
|
---|
| 346 | </listitem>
|
---|
| 347 | </varlistentry>
|
---|
| 348 |
|
---|
[abdc2e6] | 349 | <varlistentry id="llc">
|
---|
| 350 | <term><command>llc</command></term>
|
---|
[7b74537e] | 351 | <listitem>
|
---|
[abdc2e6] | 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>
|
---|
[bb57c4f9] | 496 | <!--
|
---|
[abdc2e6] | 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>
|
---|
[bb57c4f9] | 508 | </varlistentry>-->
|
---|
[abdc2e6] | 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 |
|
---|
[70251fc] | 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 |
|
---|
[abdc2e6] | 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>
|
---|
[0f5ca44] | 585 | <!--
|
---|
[abdc2e6] | 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>
|
---|
[7b74537e] | 595 | </indexterm>
|
---|
| 596 | </listitem>
|
---|
[0f5ca44] | 597 | </varlistentry>-->
|
---|
[7b74537e] | 598 |
|
---|
| 599 | </variablelist>
|
---|
[abdc2e6] | 600 |
|
---|
[7b74537e] | 601 | </sect2>
|
---|
| 602 |
|
---|
| 603 | </sect1>
|
---|