[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 |
|
---|
[9a72f67] | 7 | <!ENTITY llvm-download-http "http://llvm.org/releases/&llvm-version;/llvm-&llvm-version;.src.tar.xz">
|
---|
[abdc2e6] | 8 | <!ENTITY llvm-download-ftp " ">
|
---|
[184f8af] | 9 | <!ENTITY llvm-md5sum "b98b9495e5655a672dbcb83e1a180f8e">
|
---|
| 10 | <!ENTITY llvm-size "14 MB">
|
---|
| 11 | <!ENTITY llvm-buildsize "1.7 GB (with Clang)">
|
---|
| 12 | <!ENTITY llvm-time "39 SBU (with Clang and parallelism=2)">
|
---|
[06939c43] | 13 |
|
---|
| 14 | <!ENTITY clang-download-http "http://llvm.org/releases/&llvm-version;/cfe-&llvm-version;.src.tar.xz">
|
---|
[184f8af] | 15 | <!ENTITY clang-md5sum "8f9d27335e7331cf0a4711e952f21f01">
|
---|
| 16 | <!ENTITY clang-size "8.8 MB">
|
---|
[06939c43] | 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">
|
---|
[184f8af] | 20 | <!ENTITY compiler-rt-md5sum "383c10affd513026f08936b5525523f5">
|
---|
| 21 | <!ENTITY compiler-rt-size "1.2 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>
|
---|
[9a72f67] | 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>
|
---|
[9a72f67] | 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 |
|
---|
[a3394a71] | 58 | &lfs78_checked;
|
---|
[7b74537e] | 59 |
|
---|
| 60 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 61 | <itemizedlist spacing="compact">
|
---|
| 62 | <listitem>
|
---|
[abdc2e6] | 63 | <para>
|
---|
| 64 | Download (HTTP): <ulink url="&llvm-download-http;"/>
|
---|
| 65 | </para>
|
---|
[7b74537e] | 66 | </listitem>
|
---|
| 67 | <listitem>
|
---|
[abdc2e6] | 68 | <para>
|
---|
| 69 | Download (FTP): <ulink url="&llvm-download-ftp;"/>
|
---|
| 70 | </para>
|
---|
[7b74537e] | 71 | </listitem>
|
---|
| 72 | <listitem>
|
---|
[abdc2e6] | 73 | <para>
|
---|
| 74 | Download MD5 sum: &llvm-md5sum;
|
---|
| 75 | </para>
|
---|
[7b74537e] | 76 | </listitem>
|
---|
| 77 | <listitem>
|
---|
[abdc2e6] | 78 | <para>
|
---|
| 79 | Download size: &llvm-size;
|
---|
| 80 | </para>
|
---|
[7b74537e] | 81 | </listitem>
|
---|
| 82 | <listitem>
|
---|
[abdc2e6] | 83 | <para>
|
---|
| 84 | Estimated disk space required: &llvm-buildsize;
|
---|
| 85 | </para>
|
---|
[7b74537e] | 86 | </listitem>
|
---|
| 87 | <listitem>
|
---|
[abdc2e6] | 88 | <para>
|
---|
| 89 | Estimated build time: &llvm-time;
|
---|
| 90 | </para>
|
---|
[7b74537e] | 91 | </listitem>
|
---|
| 92 | </itemizedlist>
|
---|
| 93 |
|
---|
[abdc2e6] | 94 | <bridgehead renderas="sect3">Optional Downloads</bridgehead>
|
---|
[f36bebcd] | 95 |
|
---|
[70251fc] | 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>
|
---|
[1f44775e] | 133 |
|
---|
[7b74537e] | 134 | <bridgehead renderas="sect3">LLVM Dependencies</bridgehead>
|
---|
| 135 |
|
---|
[f36bebcd] | 136 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 137 | <para role="recommended">
|
---|
[70251fc] | 138 | <xref linkend="libffi"/> and
|
---|
| 139 | <xref linkend="python2"/>
|
---|
[f36bebcd] | 140 | </para>
|
---|
| 141 |
|
---|
[7b74537e] | 142 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 143 | <para role="optional">
|
---|
[9a72f67] | 144 | <xref linkend="cmake"/>,
|
---|
[abdc2e6] | 145 | <xref linkend="doxygen"/>,
|
---|
| 146 | <xref linkend="graphviz"/>,
|
---|
| 147 | <xref linkend="libxml2"/>,
|
---|
[9a72f67] | 148 | <xref linkend="texlive"/> (or <xref linkend="tl-installer"/>),
|
---|
| 149 | <xref linkend="valgrind"/>,
|
---|
[abdc2e6] | 150 | <xref linkend="zip"/>,
|
---|
[9a72f67] | 151 | <ulink url="http://www.ocaml.org/">OCaml</ulink>, and
|
---|
| 152 | <ulink url="http://pypi.python.org/pypi/Sphinx">Sphinx</ulink>
|
---|
[7b74537e] | 153 | </para>
|
---|
| 154 |
|
---|
| 155 | <para condition="html" role="usernotes">User Notes:
|
---|
[abdc2e6] | 156 | <ulink url="&blfs-wiki;/llvm"/>
|
---|
| 157 | </para>
|
---|
[7b74537e] | 158 | </sect2>
|
---|
| 159 |
|
---|
| 160 | <sect2 role="installation">
|
---|
| 161 | <title>Installation of LLVM</title>
|
---|
| 162 |
|
---|
[abdc2e6] | 163 | <para>
|
---|
| 164 | If you have downloaded the optional packages, install them into
|
---|
| 165 | the source tree by running the following commands:
|
---|
| 166 | </para>
|
---|
[f36bebcd] | 167 |
|
---|
[9a72f67] | 168 | <screen><userinput>tar -xf ../cfe-&llvm-version;.src.tar.xz -C tools &&
|
---|
| 169 | tar -xf ../compiler-rt-&rt-version;.src.tar.xz -C projects &&
|
---|
[f36bebcd] | 170 |
|
---|
[7e16699b] | 171 | mv tools/cfe-&llvm-version;.src tools/clang &&
|
---|
[32163abe] | 172 | mv projects/compiler-rt-&rt-version;.src projects/compiler-rt</userinput></screen>
|
---|
[5889b252] | 173 |
|
---|
[abdc2e6] | 174 | <para>
|
---|
| 175 | Install <application>LLVM</application> by running the following
|
---|
| 176 | commands:
|
---|
| 177 | </para>
|
---|
| 178 |
|
---|
[9a72f67] | 179 | <screen><userinput>sed -e "s:/docs/llvm:/share/doc/llvm-&llvm-version;:" \
|
---|
[70251fc] | 180 | -i Makefile.config.in &&
|
---|
[7e16699b] | 181 |
|
---|
[9a72f67] | 182 | CC=gcc CXX=g++ \
|
---|
| 183 | ./configure --prefix=/usr \
|
---|
| 184 | --sysconfdir=/etc \
|
---|
| 185 | --enable-libffi \
|
---|
| 186 | --enable-optimized \
|
---|
| 187 | --enable-shared \
|
---|
| 188 | --disable-assertions &&
|
---|
[7b74537e] | 189 | make</userinput></screen>
|
---|
| 190 |
|
---|
[abdc2e6] | 191 | <para>
|
---|
| 192 | If you have installed <application>Sphinx</application> and wish
|
---|
| 193 | to generate manual pages, issue the following command:
|
---|
| 194 | </para>
|
---|
[7b74537e] | 195 |
|
---|
[abdc2e6] | 196 | <screen><userinput>make -C docs -f Makefile.sphinx man</userinput></screen>
|
---|
[7b74537e] | 197 |
|
---|
[abdc2e6] | 198 | <para>
|
---|
[ac38e9dc] | 199 | To test the results, issue: <command>make -k check-all</command>.
|
---|
| 200 | There is a number of unexpected failures that can safely be
|
---|
| 201 | ignored.
|
---|
[abdc2e6] | 202 | </para>
|
---|
[7b74537e] | 203 |
|
---|
[abdc2e6] | 204 | <para>
|
---|
| 205 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 206 | </para>
|
---|
[7b74537e] | 207 |
|
---|
[abdc2e6] | 208 | <screen role="root"><userinput>make install &&
|
---|
[7e16699b] | 209 |
|
---|
[62c6b643] | 210 | for file in /usr/lib/lib{clang,LLVM,LTO}*.a
|
---|
[70251fc] | 211 | do
|
---|
| 212 | test -f $file && chmod -v 644 $file
|
---|
[ac38e9dc] | 213 | done &&
|
---|
| 214 | unset file</userinput></screen>
|
---|
[70251fc] | 215 |
|
---|
| 216 | <para>
|
---|
| 217 | If you had <xref linkend="python2"/> installed and you have
|
---|
| 218 | built <application>Clang</application>, install the
|
---|
| 219 | <application>Clang Analyzer</application> by running the
|
---|
| 220 | following command as the
|
---|
| 221 | <systemitem class="username">root</systemitem> user:
|
---|
| 222 | </para>
|
---|
| 223 |
|
---|
| 224 | <screen role="root"><userinput>install -v -dm755 /usr/lib/clang-analyzer &&
|
---|
[ac38e9dc] | 225 |
|
---|
[70251fc] | 226 | for prog in scan-build scan-view
|
---|
| 227 | do
|
---|
| 228 | cp -rfv tools/clang/tools/$prog /usr/lib/clang-analyzer/
|
---|
| 229 | ln -sfv ../lib/clang-analyzer/$prog/$prog /usr/bin/
|
---|
| 230 | done &&
|
---|
[ac38e9dc] | 231 |
|
---|
[70251fc] | 232 | ln -sfv /usr/bin/clang /usr/lib/clang-analyzer/scan-build/ &&
|
---|
[ac38e9dc] | 233 | mv -v /usr/lib/clang-analyzer/scan-build/scan-build.1 /usr/share/man/man1/ &&
|
---|
| 234 | unset prog</userinput></screen>
|
---|
[7b74537e] | 235 |
|
---|
[abdc2e6] | 236 | <para>
|
---|
| 237 | If you have built manual pages, install them by running the
|
---|
| 238 | following command as the
|
---|
| 239 | <systemitem class="username">root</systemitem> user:
|
---|
| 240 | </para>
|
---|
| 241 |
|
---|
[70251fc] | 242 | <screen role="root"><userinput>install -v -m644 docs/_build/man/* /usr/share/man/man1/</userinput></screen>
|
---|
[7b74537e] | 243 |
|
---|
| 244 | </sect2>
|
---|
[abdc2e6] | 245 |
|
---|
[5889b252] | 246 | <sect2 role="commands">
|
---|
| 247 | <title>Command Explanations</title>
|
---|
| 248 |
|
---|
[70251fc] | 249 | <para>
|
---|
[66307ff] | 250 | <command>sed -e ... Makefile.config.in</command>: This sed fixes the
|
---|
[9a72f67] | 251 | location of the installed documentation.
|
---|
[70251fc] | 252 | </para>
|
---|
| 253 |
|
---|
[5889b252] | 254 | <para>
|
---|
| 255 | <parameter>--enable-libffi</parameter>: This switch enables
|
---|
| 256 | <application>LLVM</application> to use
|
---|
| 257 | <application>libffi</application>. Remove if you did not
|
---|
| 258 | install <application>libffi</application>.
|
---|
| 259 | </para>
|
---|
| 260 |
|
---|
| 261 | <para>
|
---|
| 262 | <parameter>--enable-optimized</parameter>: This switch enables
|
---|
| 263 | compiler optimizations in order to speed up the code and reduce
|
---|
| 264 | its size.
|
---|
| 265 | </para>
|
---|
| 266 |
|
---|
| 267 | <para>
|
---|
| 268 | <parameter>--enable-shared</parameter>: This switch enables
|
---|
| 269 | building of the <application>LLVM</application> shared
|
---|
[66307ff] | 270 | library which contains all of the static libraries linked into a
|
---|
[5889b252] | 271 | single library.
|
---|
| 272 | </para>
|
---|
| 273 |
|
---|
| 274 | <para>
|
---|
[66307ff] | 275 | <parameter>--disable-assertions</parameter>: This switch disables some
|
---|
| 276 | additional compile checks which are not neccessary on a production
|
---|
| 277 | system.
|
---|
[5889b252] | 278 | </para>
|
---|
| 279 |
|
---|
| 280 | </sect2>
|
---|
| 281 |
|
---|
[7b74537e] | 282 | <sect2 role="content">
|
---|
| 283 | <title>Contents</title>
|
---|
| 284 |
|
---|
| 285 | <segmentedlist>
|
---|
| 286 | <segtitle>Installed Programs</segtitle>
|
---|
| 287 | <segtitle>Installed Libraries</segtitle>
|
---|
| 288 | <segtitle>Installed Directories</segtitle>
|
---|
| 289 |
|
---|
| 290 | <seglistitem>
|
---|
[abdc2e6] | 291 | <seg>
|
---|
[9a72f67] | 292 | bugpoint, c-index-test, clang, clang++ (symlink), count, FileCheck,
|
---|
| 293 | clang-check, clang-format, clang-tblgen, llc, lli, lli-child-target,
|
---|
[184f8af] | 294 | llvm-ar, llvm-as, llvm-bcanalyzer, llvm-config, llvm-cov,
|
---|
| 295 | llvm-cxxdump, llvm-diff, llvm-dis, llvm-dsymutil, llvm-dwarfdump,
|
---|
| 296 | llvm-extract, llvm-link, llvm-mc, llvm-mcmarkup, llvm-nm,
|
---|
| 297 | llvm-objdump, llvm-profdata, llvm-pdbdump,
|
---|
[ac38e9dc] | 298 | llvm-ranlib (symlink), llvm-readobj, llvm-rtdyld, llvm-size,
|
---|
[184f8af] | 299 | llvm-stress, llvm-symbolizer, llvm-tblgen, macho-dump, not, obj2yaml,
|
---|
| 300 | opt, scan-build (symlink), scan-view (symlink), verify-uselistorder,
|
---|
| 301 | and yaml2obj
|
---|
[abdc2e6] | 302 | </seg>
|
---|
| 303 | <seg>
|
---|
[184f8af] | 304 | BugpointPasses.so, libclang.so, libLLVM-&llvm-version;.so,
|
---|
| 305 | libLLVM-3.7.so, libLTO.so,<!-- libprofile_rt.so,-->
|
---|
| 306 | LLVMHello.so and numerous static libraries in /usr/lib
|
---|
[abdc2e6] | 307 | </seg>
|
---|
| 308 | <seg>
|
---|
[9a72f67] | 309 | /usr/include/{clang,clang-c,llvm,llvm-c},
|
---|
| 310 | /usr/lib/{clang,clang-analyzer},
|
---|
[ac38e9dc] | 311 | /usr/share/doc/llvm-&llvm-version;, and
|
---|
| 312 | /usr/share/llvm
|
---|
[abdc2e6] | 313 | </seg>
|
---|
[7b74537e] | 314 | </seglistitem>
|
---|
| 315 | </segmentedlist>
|
---|
[abdc2e6] | 316 |
|
---|
[7b74537e] | 317 | <variablelist>
|
---|
| 318 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 319 | <?dbfo list-presentation="list"?>
|
---|
| 320 | <?dbhtml list-presentation="table"?>
|
---|
| 321 |
|
---|
[abdc2e6] | 322 | <varlistentry id="bugpoint">
|
---|
| 323 | <term><command>bugpoint</command></term>
|
---|
| 324 | <listitem>
|
---|
| 325 | <para>
|
---|
| 326 | is the automatic test case reduction tool.
|
---|
| 327 | </para>
|
---|
| 328 | <indexterm zone="llvm bugpoint">
|
---|
| 329 | <primary sortas="b-bugpoint">bugpoint</primary>
|
---|
| 330 | </indexterm>
|
---|
| 331 | </listitem>
|
---|
| 332 | </varlistentry>
|
---|
| 333 |
|
---|
| 334 | <varlistentry id="clang">
|
---|
| 335 | <term><command>clang</command></term>
|
---|
[7b74537e] | 336 | <listitem>
|
---|
[abdc2e6] | 337 | <para>
|
---|
| 338 | is the <application>Clang</application> C, C++,
|
---|
| 339 | and Objective-C compiler.
|
---|
| 340 | </para>
|
---|
| 341 | <indexterm zone="llvm clang">
|
---|
| 342 | <primary sortas="b-clang">clang</primary>
|
---|
[7b74537e] | 343 | </indexterm>
|
---|
| 344 | </listitem>
|
---|
| 345 | </varlistentry>
|
---|
| 346 |
|
---|
[abdc2e6] | 347 | <varlistentry id="llc">
|
---|
| 348 | <term><command>llc</command></term>
|
---|
[7b74537e] | 349 | <listitem>
|
---|
[abdc2e6] | 350 | <para>
|
---|
| 351 | is the <application>LLVM</application> static compiler.
|
---|
| 352 | </para>
|
---|
| 353 | <indexterm zone="llvm llc">
|
---|
| 354 | <primary sortas="b-llc">llc</primary>
|
---|
| 355 | </indexterm>
|
---|
| 356 | </listitem>
|
---|
| 357 | </varlistentry>
|
---|
| 358 |
|
---|
| 359 | <varlistentry id="lli">
|
---|
| 360 | <term><command>lli</command></term>
|
---|
| 361 | <listitem>
|
---|
| 362 | <para>
|
---|
| 363 | is used to directly execute programs from
|
---|
| 364 | <application>LLVM</application> bitcode.
|
---|
| 365 | </para>
|
---|
| 366 | <indexterm zone="llvm lli">
|
---|
| 367 | <primary sortas="b-lli">lli</primary>
|
---|
| 368 | </indexterm>
|
---|
| 369 | </listitem>
|
---|
| 370 | </varlistentry>
|
---|
| 371 |
|
---|
| 372 | <varlistentry id="llvm-ar">
|
---|
| 373 | <term><command>llvm-ar</command></term>
|
---|
| 374 | <listitem>
|
---|
| 375 | <para>
|
---|
| 376 | is the <application>LLVM</application> archiver.
|
---|
| 377 | </para>
|
---|
| 378 | <indexterm zone="llvm llvm-ar">
|
---|
| 379 | <primary sortas="b-llvm-ar">llvm-ar</primary>
|
---|
| 380 | </indexterm>
|
---|
| 381 | </listitem>
|
---|
| 382 | </varlistentry>
|
---|
| 383 |
|
---|
| 384 | <varlistentry id="llvm-as">
|
---|
| 385 | <term><command>llvm-as</command></term>
|
---|
| 386 | <listitem>
|
---|
| 387 | <para>
|
---|
| 388 | is the <application>LLVM</application> assembler.
|
---|
| 389 | </para>
|
---|
| 390 | <indexterm zone="llvm llvm-as">
|
---|
| 391 | <primary sortas="b-llvm-as">llvm-as</primary>
|
---|
| 392 | </indexterm>
|
---|
| 393 | </listitem>
|
---|
| 394 | </varlistentry>
|
---|
| 395 |
|
---|
| 396 | <varlistentry id="llvm-bcanalyzer">
|
---|
| 397 | <term><command>llvm-bcanalyzer</command></term>
|
---|
| 398 | <listitem>
|
---|
| 399 | <para>
|
---|
| 400 | is the <application>LLVM</application> bitcode analyzer.
|
---|
| 401 | </para>
|
---|
| 402 | <indexterm zone="llvm llvm-bcanalyzer">
|
---|
| 403 | <primary sortas="b-llvm-bcanalyzer">llvm-bcanalyzer</primary>
|
---|
| 404 | </indexterm>
|
---|
| 405 | </listitem>
|
---|
| 406 | </varlistentry>
|
---|
| 407 |
|
---|
| 408 | <varlistentry id="llvm-config">
|
---|
| 409 | <term><command>llvm-config</command></term>
|
---|
| 410 | <listitem>
|
---|
| 411 | <para>
|
---|
| 412 | Prints <application>LLVM</application> compilation options.
|
---|
| 413 | </para>
|
---|
| 414 | <indexterm zone="llvm llvm-config">
|
---|
| 415 | <primary sortas="b-llvm-config">llvm-config</primary>
|
---|
| 416 | </indexterm>
|
---|
| 417 | </listitem>
|
---|
| 418 | </varlistentry>
|
---|
| 419 |
|
---|
| 420 | <varlistentry id="llvm-cov">
|
---|
| 421 | <term><command>llvm-cov</command></term>
|
---|
| 422 | <listitem>
|
---|
| 423 | <para>
|
---|
| 424 | is used to emit coverage information.
|
---|
| 425 | </para>
|
---|
| 426 | <indexterm zone="llvm llvm-cov">
|
---|
| 427 | <primary sortas="b-llvm-cov">llvm-cov</primary>
|
---|
| 428 | </indexterm>
|
---|
| 429 | </listitem>
|
---|
| 430 | </varlistentry>
|
---|
| 431 |
|
---|
| 432 | <varlistentry id="llvm-diff">
|
---|
| 433 | <term><command>llvm-diff</command></term>
|
---|
| 434 | <listitem>
|
---|
| 435 | <para>
|
---|
| 436 | is the <application>LLVM</application> structural
|
---|
| 437 | '<command>diff</command>'.
|
---|
| 438 | </para>
|
---|
| 439 | <indexterm zone="llvm llvm-diff">
|
---|
| 440 | <primary sortas="b-llvm-diff">llvm-diff</primary>
|
---|
| 441 | </indexterm>
|
---|
| 442 | </listitem>
|
---|
| 443 | </varlistentry>
|
---|
| 444 |
|
---|
| 445 | <varlistentry id="llvm-dis">
|
---|
| 446 | <term><command>llvm-dis</command></term>
|
---|
| 447 | <listitem>
|
---|
| 448 | <para>
|
---|
| 449 | is the <application>LLVM</application> disassembler.
|
---|
| 450 | </para>
|
---|
| 451 | <indexterm zone="llvm llvm-dis">
|
---|
| 452 | <primary sortas="b-llvm-dis">llvm-dis</primary>
|
---|
| 453 | </indexterm>
|
---|
| 454 | </listitem>
|
---|
| 455 | </varlistentry>
|
---|
| 456 |
|
---|
[ac38e9dc] | 457 | <varlistentry id="llvm-dsymutil">
|
---|
| 458 | <term><command>llvm-dsymutil</command></term>
|
---|
| 459 | <listitem>
|
---|
| 460 | <para>
|
---|
[66307ff] | 461 | is a tool used to manipulate archived DWARF debug symbol files,
|
---|
[ac38e9dc] | 462 | compatible with the Darwin command <command>dsymutil</command>.
|
---|
| 463 | </para>
|
---|
| 464 | <indexterm zone="llvm llvm-dsymutil">
|
---|
| 465 | <primary sortas="b-llvm-dsymutil">llvm-dsymutil</primary>
|
---|
| 466 | </indexterm>
|
---|
| 467 | </listitem>
|
---|
| 468 | </varlistentry>
|
---|
| 469 |
|
---|
[abdc2e6] | 470 | <varlistentry id="llvm-extract">
|
---|
| 471 | <term><command>llvm-extract</command></term>
|
---|
| 472 | <listitem>
|
---|
| 473 | <para>
|
---|
| 474 | is used to extract a function from an
|
---|
| 475 | <application>LLVM</application> module.
|
---|
| 476 | </para>
|
---|
| 477 | <indexterm zone="llvm llvm-extract">
|
---|
| 478 | <primary sortas="b-llvm-extract">llvm-extract</primary>
|
---|
| 479 | </indexterm>
|
---|
| 480 | </listitem>
|
---|
| 481 | </varlistentry>
|
---|
| 482 |
|
---|
| 483 | <varlistentry id="llvm-link">
|
---|
| 484 | <term><command>llvm-link</command></term>
|
---|
| 485 | <listitem>
|
---|
| 486 | <para>
|
---|
| 487 | is the <application>LLVM</application> linker.
|
---|
| 488 | </para>
|
---|
| 489 | <indexterm zone="llvm llvm-link">
|
---|
| 490 | <primary sortas="b-llvm-link">llvm-link</primary>
|
---|
| 491 | </indexterm>
|
---|
| 492 | </listitem>
|
---|
| 493 | </varlistentry>
|
---|
| 494 |
|
---|
| 495 | <varlistentry id="llvm-nm">
|
---|
| 496 | <term><command>llvm-nm</command></term>
|
---|
| 497 | <listitem>
|
---|
| 498 | <para>
|
---|
| 499 | is used to list <application>LLVM</application> bitcode
|
---|
| 500 | and object file's symbol table.
|
---|
| 501 | </para>
|
---|
| 502 | <indexterm zone="llvm llvm-nm">
|
---|
| 503 | <primary sortas="b-llvm-nm">llvm-nm</primary>
|
---|
| 504 | </indexterm>
|
---|
| 505 | </listitem>
|
---|
| 506 | </varlistentry>
|
---|
[bb57c4f9] | 507 | <!--
|
---|
[abdc2e6] | 508 | <varlistentry id="llvm-prof">
|
---|
| 509 | <term><command>llvm-prof</command></term>
|
---|
| 510 | <listitem>
|
---|
| 511 | <para>
|
---|
| 512 | is used to print execution profile of
|
---|
| 513 | <application>LLVM</application> program.
|
---|
| 514 | </para>
|
---|
| 515 | <indexterm zone="llvm llvm-prof">
|
---|
| 516 | <primary sortas="b-llvm-prof">llvm-prof</primary>
|
---|
| 517 | </indexterm>
|
---|
| 518 | </listitem>
|
---|
[bb57c4f9] | 519 | </varlistentry>-->
|
---|
[abdc2e6] | 520 |
|
---|
| 521 | <varlistentry id="llvm-ranlib">
|
---|
| 522 | <term><command>llvm-ranlib</command></term>
|
---|
| 523 | <listitem>
|
---|
| 524 | <para>
|
---|
| 525 | is used to generate index for <application>LLVM</application>
|
---|
| 526 | archive.
|
---|
| 527 | </para>
|
---|
| 528 | <indexterm zone="llvm llvm-ranlib">
|
---|
| 529 | <primary sortas="b-llvm-ranlib">llvm-ranlib</primary>
|
---|
| 530 | </indexterm>
|
---|
| 531 | </listitem>
|
---|
| 532 | </varlistentry>
|
---|
| 533 |
|
---|
| 534 | <varlistentry id="llvm-stress">
|
---|
| 535 | <term><command>llvm-stress</command></term>
|
---|
| 536 | <listitem>
|
---|
| 537 | <para>
|
---|
| 538 | is used to generate random
|
---|
| 539 | <filename class="extension">.ll</filename> files.
|
---|
| 540 | </para>
|
---|
| 541 | <indexterm zone="llvm llvm-stress">
|
---|
| 542 | <primary sortas="b-llvm-stress">llvm-stress</primary>
|
---|
| 543 | </indexterm>
|
---|
| 544 | </listitem>
|
---|
| 545 | </varlistentry>
|
---|
| 546 |
|
---|
| 547 | <varlistentry id="llvm-tblgen">
|
---|
| 548 | <term><command>llvm-tblgen</command></term>
|
---|
| 549 | <listitem>
|
---|
| 550 | <para>
|
---|
| 551 | is the <application>LLVM</application> Target Description
|
---|
| 552 | To C++ Code Generator.
|
---|
| 553 | </para>
|
---|
| 554 | <indexterm zone="llvm llvm-tblgen">
|
---|
| 555 | <primary sortas="b-llvm-tblgen">llvm-tblgen</primary>
|
---|
| 556 | </indexterm>
|
---|
| 557 | </listitem>
|
---|
| 558 | </varlistentry>
|
---|
| 559 |
|
---|
[ac38e9dc] | 560 | <varlistentry id="obj2yaml">
|
---|
| 561 | <term><command>obj2yaml</command></term>
|
---|
| 562 | <listitem>
|
---|
| 563 | <para>
|
---|
| 564 | takes an object file,and produces a YAML representation of the
|
---|
| 565 | file.
|
---|
| 566 | </para>
|
---|
| 567 | <indexterm zone="llvm obj2yaml">
|
---|
| 568 | <primary sortas="b-obj2yaml">obj2yaml</primary>
|
---|
| 569 | </indexterm>
|
---|
| 570 | </listitem>
|
---|
| 571 | </varlistentry>
|
---|
| 572 |
|
---|
[abdc2e6] | 573 | <varlistentry id="opt">
|
---|
| 574 | <term><command>opt</command></term>
|
---|
| 575 | <listitem>
|
---|
| 576 | <para>
|
---|
| 577 | is the <application>LLVM</application> optimizer.
|
---|
| 578 | </para>
|
---|
| 579 | <indexterm zone="llvm opt">
|
---|
| 580 | <primary sortas="b-opt">opt</primary>
|
---|
| 581 | </indexterm>
|
---|
| 582 | </listitem>
|
---|
| 583 | </varlistentry>
|
---|
| 584 |
|
---|
[70251fc] | 585 | <varlistentry id="scan-build">
|
---|
| 586 | <term><command>scan-build</command></term>
|
---|
| 587 | <listitem>
|
---|
| 588 | <para>
|
---|
| 589 | is a <application>Perl</application> script that invokes the
|
---|
| 590 | <application>Clang</application> static analyzer.
|
---|
| 591 | </para>
|
---|
| 592 | <indexterm zone="llvm scan-build">
|
---|
| 593 | <primary sortas="b-scan-build">scan-build</primary>
|
---|
[ac38e9dc] | 594 | </indexterm>
|
---|
| 595 | </listitem>
|
---|
| 596 | </varlistentry>
|
---|
| 597 |
|
---|
| 598 | <varlistentry id="yaml2obj">
|
---|
| 599 | <term><command>yaml2obj</command></term>
|
---|
| 600 | <listitem>
|
---|
| 601 | <para>
|
---|
| 602 | takes a YAML representation of an object file and converts it
|
---|
| 603 | to an binary file.
|
---|
| 604 | </para>
|
---|
| 605 | <indexterm zone="llvm yaml2obj">
|
---|
| 606 | <primary sortas="b-yaml2obj">yaml2obj</primary>
|
---|
[70251fc] | 607 | </indexterm>
|
---|
| 608 | </listitem>
|
---|
| 609 | </varlistentry>
|
---|
| 610 |
|
---|
[abdc2e6] | 611 | <varlistentry id="libllvm">
|
---|
| 612 | <term><filename class="libraryfile">libLLVM-&llvm-version;.so</filename></term>
|
---|
| 613 | <listitem>
|
---|
| 614 | <para>
|
---|
| 615 | contains the <application>LLVM</application> API functions.
|
---|
| 616 | </para>
|
---|
| 617 | <indexterm zone="llvm libllvm">
|
---|
| 618 | <primary sortas="c-libllvm">libLLVM-&llvm-version;.so</primary>
|
---|
| 619 | </indexterm>
|
---|
| 620 | </listitem>
|
---|
| 621 | </varlistentry>
|
---|
[0f5ca44] | 622 | <!--
|
---|
[abdc2e6] | 623 | <varlistentry id="libprofile_rt">
|
---|
| 624 | <term><filename class="libraryfile">libprofile_rt.so</filename></term>
|
---|
| 625 | <listitem>
|
---|
| 626 | <para>
|
---|
| 627 | is the C, C++ and Objective-C runtime library for
|
---|
| 628 | <application>Clang</application>.
|
---|
| 629 | </para>
|
---|
| 630 | <indexterm zone="llvm libprofile_rt">
|
---|
| 631 | <primary sortas="c-libprofile_rt">libprofile_rt.so</primary>
|
---|
[7b74537e] | 632 | </indexterm>
|
---|
| 633 | </listitem>
|
---|
[0f5ca44] | 634 | </varlistentry>-->
|
---|
[7b74537e] | 635 |
|
---|
| 636 | </variablelist>
|
---|
[abdc2e6] | 637 |
|
---|
[7b74537e] | 638 | </sect2>
|
---|
| 639 |
|
---|
| 640 | </sect1>
|
---|