mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-26 08:42:12 +08:00
72592375e8
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@23541 af4574ff-66df-0310-9fd7-8a98e5e911e0
1383 lines
46 KiB
XML
1383 lines
46 KiB
XML
<?xml version="1.0" encoding="ISO-8859-1"?>
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
|
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
|
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
|
%general-entities;
|
|
|
|
<!ENTITY llvm-url "https://github.com/llvm/llvm-project/releases/download/llvmorg-&llvm-version;">
|
|
|
|
<!ENTITY llvm-download-http "&llvm-url;/llvm-&llvm-version;.src.tar.xz">
|
|
<!ENTITY llvm-download-ftp " ">
|
|
<!ENTITY llvm-md5sum "71c68c526cbbf1674b5aafc5542b336c">
|
|
<!ENTITY llvm-size "34 MB">
|
|
<!ENTITY llvm-buildsize "2.8 GB (with Clang, 659 MB installed, add 16 GB for tests)">
|
|
<!ENTITY llvm-time "30 SBU (with Clang and parallelism=4, add 15 SBU for tests)">
|
|
|
|
<!ENTITY clang-download-http "&llvm-url;/clang-&llvm-version;.src.tar.xz">
|
|
<!ENTITY clang-md5sum "6c8b56f531876fd24e06257a2d8ce422">
|
|
<!ENTITY clang-size "14 MB">
|
|
|
|
<!ENTITY compiler-rt-download-http "&llvm-url;/compiler-rt-&llvm-version;.src.tar.xz">
|
|
<!ENTITY compiler-rt-md5sum "970835d14e9c08a68c4b2ff3931bada7">
|
|
<!ENTITY compiler-rt-size "2.0 MB">
|
|
]>
|
|
|
|
<sect1 id="llvm" xreflabel="LLVM-&llvm-version;">
|
|
<?dbhtml filename="llvm.html" ?>
|
|
|
|
<sect1info>
|
|
<othername>$LastChangedBy$</othername>
|
|
<date>$Date$</date>
|
|
</sect1info>
|
|
|
|
<title>LLVM-&llvm-version;</title>
|
|
|
|
<indexterm zone="llvm">
|
|
<primary sortas="a-LLVM">LLVM</primary>
|
|
</indexterm>
|
|
|
|
<sect2 role="package">
|
|
<title>Introduction to LLVM</title>
|
|
|
|
<para>
|
|
The <application>LLVM</application> package contains a collection of
|
|
modular and reusable compiler and toolchain technologies. The Low Level
|
|
Virtual Machine (LLVM) Core libraries provide a modern source and
|
|
target-independent optimizer, along with code generation support for many
|
|
popular CPUs (as well as some less common ones!). These libraries are
|
|
built around a well specified code representation known as the LLVM
|
|
intermediate representation ("LLVM IR").
|
|
</para>
|
|
|
|
<para>
|
|
The optional <application>Clang</application> and <application>Compiler
|
|
RT</application> packages provide new C, C++, Objective C and Objective
|
|
C++ front-ends and runtime libraries for the
|
|
<application>LLVM</application> and are required by some packages which
|
|
use <application>Rust</application>, for example
|
|
<application>firefox</application>.
|
|
</para>
|
|
|
|
&lfs10_checked;
|
|
|
|
<bridgehead renderas="sect3">Package Information</bridgehead>
|
|
<itemizedlist spacing="compact">
|
|
<listitem>
|
|
<para>
|
|
Download (HTTP): <ulink url="&llvm-download-http;"/>
|
|
</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
Download (FTP): <ulink url="&llvm-download-ftp;"/>
|
|
</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
Download MD5 sum: &llvm-md5sum;
|
|
</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
Download size: &llvm-size;
|
|
</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
Estimated disk space required: &llvm-buildsize;
|
|
</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
Estimated build time: &llvm-time;
|
|
</para>
|
|
</listitem>
|
|
</itemizedlist>
|
|
|
|
<bridgehead renderas="sect3">Optional Downloads</bridgehead>
|
|
|
|
<bridgehead renderas="sect4">Clang</bridgehead>
|
|
<itemizedlist spacing="compact">
|
|
<listitem>
|
|
<para>
|
|
Download: <ulink url="&clang-download-http;"/>
|
|
</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
Download MD5 sum: &clang-md5sum;
|
|
</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
Download size: &clang-size;
|
|
</para>
|
|
</listitem>
|
|
</itemizedlist>
|
|
|
|
<bridgehead renderas="sect4">Compiler RT</bridgehead>
|
|
<itemizedlist spacing="compact">
|
|
<listitem>
|
|
<para>
|
|
Download: <ulink url="&compiler-rt-download-http;"/>
|
|
</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
Download MD5 sum: &compiler-rt-md5sum;
|
|
</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
Download size: &compiler-rt-size;
|
|
</para>
|
|
</listitem>
|
|
</itemizedlist>
|
|
|
|
<!-- <itemizedlist spacing="compact">
|
|
<listitem>
|
|
<para>
|
|
Optional patch:
|
|
<ulink url="&patch-root;/compiler-rt-4.0.1-glibc-2.26-1.patch"/>
|
|
(required if using compiler-rt)
|
|
</para>
|
|
</listitem>
|
|
</itemizedlist>
|
|
-->
|
|
<bridgehead renderas="sect3">LLVM Dependencies</bridgehead>
|
|
|
|
<bridgehead renderas="sect4">Required</bridgehead>
|
|
<para role="required">
|
|
<xref linkend="cmake"/>
|
|
</para>
|
|
|
|
<bridgehead renderas="sect4">Optional</bridgehead>
|
|
<para role="optional">
|
|
<xref linkend="doxygen"/>,
|
|
<xref linkend="git"/>,
|
|
<xref linkend="graphviz"/>,
|
|
<xref linkend="libxml2"/>,
|
|
<xref linkend="python2"/>,
|
|
<xref linkend="rsync"/> (for tests),
|
|
<xref linkend="texlive"/> (or <xref linkend="tl-installer"/>),
|
|
<xref linkend="valgrind"/>,
|
|
<xref linkend="PyYAML"/>, <!-- for yaml2obj -->
|
|
<xref linkend="zip"/>,
|
|
<ulink url="https://ocaml.org/">OCaml</ulink>,
|
|
<ulink url="https://pypi.org/project/psutil/">psutil</ulink>,
|
|
<ulink url="https://pypi.python.org/pypi/recommonmark">recommonmark</ulink>,
|
|
<ulink url="https://pypi.python.org/pypi/Sphinx">Sphinx</ulink>, and
|
|
<ulink url="https://github.com/Z3Prover/z3">Z3</ulink>
|
|
</para>
|
|
|
|
<para condition="html" role="usernotes">User Notes:
|
|
<ulink url="&blfs-wiki;/llvm"/>
|
|
</para>
|
|
</sect2>
|
|
|
|
<sect2 role="installation">
|
|
<title>Installation of LLVM</title>
|
|
|
|
<para>
|
|
If you have downloaded the optional packages, install them into
|
|
the source tree by running the following commands:
|
|
</para>
|
|
|
|
<screen><userinput>tar -xf ../clang-&llvm-version;.src.tar.xz -C tools &&
|
|
tar -xf ../compiler-rt-&llvm-version;.src.tar.xz -C projects &&
|
|
|
|
mv tools/clang-&llvm-version;.src tools/clang &&
|
|
mv projects/compiler-rt-&llvm-version;.src projects/compiler-rt</userinput></screen>
|
|
|
|
<para>
|
|
Install <application>LLVM</application> by running the following
|
|
commands:
|
|
</para>
|
|
|
|
<screen><userinput>mkdir -v build &&
|
|
cd build &&
|
|
|
|
CC=gcc CXX=g++ \
|
|
cmake -DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DLLVM_ENABLE_FFI=ON \
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
-DLLVM_BUILD_LLVM_DYLIB=ON \
|
|
-DLLVM_LINK_LLVM_DYLIB=ON \
|
|
-DLLVM_ENABLE_RTTI=ON \
|
|
-DLLVM_TARGETS_TO_BUILD="host;AMDGPU;BPF" \
|
|
-DLLVM_BUILD_TESTS=ON \
|
|
-Wno-dev -G Ninja .. &&
|
|
ninja</userinput></screen>
|
|
|
|
<para>
|
|
If you have installed <application>Sphinx</application> and
|
|
<application>recommonmark</application> and wish
|
|
to generate the html documentation and manual pages, issue the following
|
|
commands:
|
|
</para>
|
|
|
|
<screen remap="doc"><userinput>cmake -DLLVM_ENABLE_SPHINX=ON \
|
|
-DSPHINX_WARNINGS_AS_ERRORS=OFF \
|
|
-Wno-dev -G Ninja .. &&
|
|
ninja docs-llvm-html docs-llvm-man</userinput></screen>
|
|
|
|
<para>
|
|
If you have downloaded the optional packages, the clang documentation
|
|
can be built too:
|
|
</para>
|
|
|
|
<screen remap="doc"><userinput>ninja docs-clang-html docs-clang-man</userinput></screen>
|
|
|
|
<para>
|
|
<!-- EDITORS - if you have more than 4 cores, take some offline to measure
|
|
the elapsed time for the tests. Also, libstdc++.a and perhaps libstdc++fs.a
|
|
are used by a couple of the link-static tests. -->
|
|
To test the results, issue: <command>ninja check-all</command>. Tests are
|
|
built with all <emphasis>available</emphasis> cores, but run using the number
|
|
of <emphasis>online</emphasis> processors. (The difference is that available
|
|
cores can be limited using <command>taskset</command>, but taking them offline
|
|
requires echoing 0 to <filename
|
|
class="directory">/sys/devices/system/cpu/cpu<N>/online</filename>
|
|
by the <systemitem class="username">root</systemitem> user and makes them
|
|
temporarily unusable by all jobs on the machine.)
|
|
Note that the Sanitizer based tests (6 of more than 41000 tests run)
|
|
are known to fail.
|
|
|
|
</para>
|
|
|
|
<para>
|
|
Now, as the <systemitem class="username">root</systemitem> user:
|
|
</para>
|
|
|
|
<screen role="root"><userinput>ninja install</userinput></screen>
|
|
|
|
<para>
|
|
If you have built the the llvm documentation, install it by running the
|
|
following commands as the <systemitem class="username">root</systemitem>
|
|
user:
|
|
</para>
|
|
|
|
<screen role="root"
|
|
remap="doc"><userinput>install -v -m644 docs/man/* /usr/share/man/man1 &&
|
|
install -v -d -m755 /usr/share/doc/llvm-&llvm-version;/llvm-html &&
|
|
cp -Rv docs/html/* /usr/share/doc/llvm-&llvm-version;/llvm-html</userinput></screen>
|
|
|
|
<para>
|
|
If you have built the clang documentation, it can be installed in the
|
|
same way (again as the
|
|
<systemitem class="username">root</systemitem> user):
|
|
</para>
|
|
|
|
<screen role="root"
|
|
remap="doc"><userinput>install -v -m644 tools/clang/docs/man/* /usr/share/man/man1 &&
|
|
install -v -d -m755 /usr/share/doc/llvm-&llvm-version;/clang-html &&
|
|
cp -Rv tools/clang/docs/html/* /usr/share/doc/llvm-&llvm-version;/clang-html</userinput></screen>
|
|
|
|
</sect2>
|
|
|
|
<sect2 role="commands">
|
|
<title>Command Explanations</title>
|
|
|
|
<para>
|
|
<parameter>-DLLVM_ENABLE_FFI=ON</parameter>: This switch enables
|
|
<application>LLVM</application> to use
|
|
<application>libffi</application>.
|
|
</para>
|
|
|
|
<para>
|
|
<parameter>-DLLVM_BUILD_LLVM_DYLIB=ON</parameter>: builds libraries as
|
|
static and links all of them into an unique shared one. This is the
|
|
recommended way of building a shared library.
|
|
</para>
|
|
|
|
<para>
|
|
<parameter>-DCMAKE_BUILD_TYPE=Release</parameter>: This switch enables
|
|
compiler optimizations in order to speed up the code and reduce its size.
|
|
It also disables some compile checks which are not necessary on a
|
|
production system.
|
|
</para>
|
|
|
|
<para>
|
|
<parameter>-DLLVM_TARGETS_TO_BUILD="host;AMDGPU;BPF"</parameter>: This
|
|
switch enables building for the same target as the host, and also for
|
|
the r600 AMD GPU used by the Mesa r600 and radeonsi drivers. The BPF
|
|
target is required to build <xref linkend="v4l-utils"/>. Default is
|
|
all. You can use a semicolon separated list. Valid targets are: host,
|
|
X86, Sparc, PowerPC, ARM, AArch64, Mips, Hexagon, Xcore, MSP430, NVPTX,
|
|
SystemZ, AMDGPU, BPF, CppBackend, or all.
|
|
</para>
|
|
|
|
<para>
|
|
<parameter>-DLLVM_LINK_LLVM_DYLIB=ON</parameter>: Used in conjunction with
|
|
<parameter>-DLLVM_BUILD_LLVM_DYLIB=ON</parameter>, this switch enables
|
|
linking the tools against the shared library instead of the static ones.
|
|
It also slightly reduces their size and also ensures that llvm-config
|
|
will correctly use libLLVM-&llvm-majmin-version;.so.
|
|
</para>
|
|
|
|
<para>
|
|
<parameter>-DLLVM_ENABLE_RTTI=ON</parameter>: Used to build LLVM with
|
|
run-time type information. This is required for building
|
|
<xref linkend="mesa"/>.
|
|
</para>
|
|
|
|
<para>
|
|
<option>-DBUILD_SHARED_LIBS=ON</option>: if used instead of
|
|
<parameter>-DLLVM_BUILD_LLVM_DYLIB=ON</parameter> and
|
|
<parameter>-DLLVM_LINK_LLVM_DYLIB=ON</parameter>, builds all the
|
|
<application>LLVM</application> libraries (about 60) as shared
|
|
libraries instead of static.
|
|
</para>
|
|
|
|
<para>
|
|
<option>-DLLVM_ENABLE_DOXYGEN</option>: Enables the generation of
|
|
browsable HTML documentation if you have installed <xref
|
|
linkend="doxygen"/>. You should run <command>make doxygen-html</command>
|
|
afterwards, and install the generated documentation manually.
|
|
</para>
|
|
|
|
</sect2>
|
|
|
|
<sect2 role="content">
|
|
<title>Contents</title>
|
|
|
|
<segmentedlist>
|
|
<segtitle>Installed Programs</segtitle>
|
|
<segtitle>Installed Libraries</segtitle>
|
|
<segtitle>Installed Directories</segtitle>
|
|
|
|
<seglistitem>
|
|
<seg>
|
|
bugpoint, c-index-test, clang, clang++ (symlinks to
|
|
clang-<version>), clang-<version>, clang-check, clang-cl,
|
|
clang-cpp (last two symlinks to clang), clang-format, clang-extdef-mapping,
|
|
clang-import-test, clang-offload-bundler, clang-offload-wrapper,
|
|
clang-refactor, clang-rename, clang-scan-deps,
|
|
diagtool, dsymutil, git-clang-format, hmap-tool, llc, lli,
|
|
llvm-addr2line, llvm-ar, llvm-as, llvm-bcanalyzer, llvm-cat,
|
|
llvm-cfi-verify, llvm-config, llvm-cov, llvm-c-test, llvm-cvtres,
|
|
llvm-cxxdump, llvm-cxxfilt, llvm-cxxmap,
|
|
llvm-diff, llvm-dis, llvm-dlltool (symlink to llvm-ar), llvm-dwarfdump,
|
|
llvm-dwp, llvm-elfabi, llvm-exegenesis, llvm-extract, llvm-ifs,
|
|
llvm-install-name-tool (symlink to llvm-objcopy), llvm-jitlink,
|
|
llvm-lib (symlink to llvm-ar), llvm-link, llvm-lipo, llvm-lto,
|
|
llvm-lto2, llvm-mc, llvm-mca, llvm-modextract,
|
|
llvm-mt, llvm-nm, llvm-objcopy, llvm-objdump, llvm-opt-report,
|
|
llvm-pdbutil, llvm-profdata, llvm-ranlib (symlink to llvm-ar), llvm-rc,
|
|
llvm-readelf (symlink to llvm-readobj), llvm-readobj, llvm-reduce,
|
|
llvm-rtdyld, llvm-size, llvm-split, llvm-stress, llvm-strings,
|
|
llvm-strip (symlink to llvm-objcopy), llvm-symbolizer, llvm-tblgen,
|
|
llvm-undname, llvm-xray, obj2yaml, opt, sancov, sanstats, scan-build,
|
|
scan-view, verify-uselistorder, and yaml2obj
|
|
</seg>
|
|
<seg>
|
|
libLLVM.so,
|
|
libLLVM*.a (75 libraries),
|
|
libLTO.so,
|
|
libRemarks.so,
|
|
libclang.so,
|
|
and libclang*.a (63 libraries)
|
|
</seg>
|
|
<seg>
|
|
/usr/include/{clang,clang-c,llvm,llvm-c},
|
|
/usr/lib/{clang,cmake/{clang,llvm}},
|
|
/usr/share/{clang,opt-viewer,scan-build,scan-view}, and
|
|
/usr/share/doc/llvm-&llvm-version;
|
|
</seg>
|
|
</seglistitem>
|
|
</segmentedlist>
|
|
|
|
<variablelist>
|
|
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
|
<?dbfo list-presentation="list"?>
|
|
<?dbhtml list-presentation="table"?>
|
|
|
|
<varlistentry id="bugpoint">
|
|
<term><command>bugpoint</command></term>
|
|
<listitem>
|
|
<para>
|
|
is the automatic test case reduction tool.
|
|
</para>
|
|
<indexterm zone="llvm bugpoint">
|
|
<primary sortas="b-bugpoint">bugpoint</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="c-index-test">
|
|
<term><command>c-index-test</command></term>
|
|
<listitem>
|
|
<para>
|
|
is used to test the libclang API and demonstrate its usage.
|
|
</para>
|
|
<indexterm zone="llvm c-index-test">
|
|
<primary sortas="b-c-index-test">c-index-test</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="clang">
|
|
<term><command>clang</command></term>
|
|
<listitem>
|
|
<para>
|
|
is the <application>Clang</application> C, C++,
|
|
and Objective-C compiler.
|
|
</para>
|
|
<indexterm zone="llvm clang">
|
|
<primary sortas="b-clang">clang</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="clang-check">
|
|
<term><command>clang-check</command></term>
|
|
<listitem>
|
|
<para>
|
|
is a tool to perform static code analysis and display Abstract
|
|
Syntax Trees (AST).
|
|
</para>
|
|
<indexterm zone="llvm clang-check">
|
|
<primary sortas="b-clang-check">clang-check</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="clang-extdef-mapping">
|
|
<term><command>clang-extdef-mapping</command></term>
|
|
<listitem>
|
|
<para>
|
|
is a tool to collect the USR name and location of external
|
|
definitions in a source file.
|
|
</para>
|
|
<indexterm zone="llvm clang-extdef-mapping">
|
|
<primary sortas="b-clang-extdef-mapping">clang-extdef-mapping</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="clang-format">
|
|
<term><command>clang-format</command></term>
|
|
<listitem>
|
|
<para>
|
|
is a tool to format C/C++/Java/JavaScript/Objective-C/Protobuf
|
|
code.
|
|
</para>
|
|
<indexterm zone="llvm clang-format">
|
|
<primary sortas="b-clang-format">clang-format</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<!--
|
|
<varlistentry id="clang-func-mapping">
|
|
<term><command>clang-func-mapping</command></term>
|
|
<listitem>
|
|
<para>
|
|
collects the name and location of all function definitions in the
|
|
source files.
|
|
</para>
|
|
<indexterm zone="llvm clang-func-mapping">
|
|
<primary sortas="b-clang-func-mapping">clang-func-mapping</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
-->
|
|
<varlistentry id="clang-offload-bundler">
|
|
<term><command>clang-offload-bundler</command></term>
|
|
<listitem>
|
|
<para>
|
|
is a tool to bundle/unbundle openMP offloaded files associated with
|
|
a common source file.
|
|
</para>
|
|
<indexterm zone="llvm clang-offload-bundler">
|
|
<primary sortas="b-clang-offload-bundler">clang-offload-bundler</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="clang-offload-wrapper">
|
|
<term><command>clang-offload-bundler</command></term>
|
|
<listitem>
|
|
<para>
|
|
is a tool to create wrapper bitcode for offload target binaries.
|
|
</para>
|
|
<indexterm zone="llvm clang-offload-wrapper">
|
|
<primary sortas="b-clang-offload-wrapper">clang-offload-wrapper</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="clang-refactor">
|
|
<term><command>clang-refactor</command></term>
|
|
<listitem>
|
|
<para>
|
|
is a Clang-based refactoring tool for C, C++ and Objective-C.
|
|
</para>
|
|
<indexterm zone="llvm clang-refactor">
|
|
<primary sortas="b-clang-refactor">clang-refactor</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="clang-rename">
|
|
<term><command>clang-rename</command></term>
|
|
<listitem>
|
|
<para>
|
|
is a tool to rename symbols in C/C++ programs.
|
|
</para>
|
|
<indexterm zone="llvm clang-rename">
|
|
<primary sortas="b-clang-rename">clang-rename</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="clang-scan-deps">
|
|
<term><command>clang-scan-deps</command></term>
|
|
<listitem>
|
|
<para>
|
|
is a tool to scan for dependencies in a source file.
|
|
</para>
|
|
<indexterm zone="llvm clang-scan-deps">
|
|
<primary sortas="b-clang-scan-deps">clang-scan-deps</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="diagtool">
|
|
<term><command>diagtool</command></term>
|
|
<listitem>
|
|
<para>
|
|
is a combination of tools for dealing with diagnostics in clang.
|
|
</para>
|
|
<indexterm zone="llvm diagtool">
|
|
<primary sortas="b-diagtool">diagtool</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="dsymutil">
|
|
<term><command>dsymutil</command></term>
|
|
<listitem>
|
|
<para>
|
|
is a tool used to manipulate archived DWARF debug symbol files,
|
|
compatible with the Darwin command <command>dsymutil</command>.
|
|
</para>
|
|
<indexterm zone="llvm dsymutil">
|
|
<primary sortas="b-dsymutil">dsymutil</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="git-clang-format">
|
|
<term><command>git-clang-format</command></term>
|
|
<listitem>
|
|
<para>
|
|
runs clang-format on git generated patches (requires
|
|
<xref linkend="git"/>)
|
|
</para>
|
|
<indexterm zone="llvm git-clang-format">
|
|
<primary sortas="b-git-clang-format">git-clang-format</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="hmaptool">
|
|
<term><command>hmaptool</command></term>
|
|
<listitem>
|
|
<para>
|
|
is a Python tool to dump and construct header maps.
|
|
</para>
|
|
<indexterm zone="llvm hmaptool">
|
|
<primary sortas="b-hmaptool">hmaptool</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="llc">
|
|
<term><command>llc</command></term>
|
|
<listitem>
|
|
<para>
|
|
is the <application>LLVM</application> static compiler.
|
|
</para>
|
|
<indexterm zone="llvm llc">
|
|
<primary sortas="b-llc">llc</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="lli">
|
|
<term><command>lli</command></term>
|
|
<listitem>
|
|
<para>
|
|
is used to directly execute programs from
|
|
<application>LLVM</application> bitcode.
|
|
</para>
|
|
<indexterm zone="llvm lli">
|
|
<primary sortas="b-lli">lli</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="llvm-addr2line">
|
|
<term><command>llvm-addr2line</command></term>
|
|
<listitem>
|
|
<para>
|
|
is a tool used to convert addresses into file names and line
|
|
numbers.
|
|
</para>
|
|
<indexterm zone="llvm llvm-addr2line">
|
|
<primary sortas="b-llvm-addr2line">llvm-addr2line</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="llvm-ar">
|
|
<term><command>llvm-ar</command></term>
|
|
<listitem>
|
|
<para>
|
|
is the <application>LLVM</application> archiver.
|
|
</para>
|
|
<indexterm zone="llvm llvm-ar">
|
|
<primary sortas="b-llvm-ar">llvm-ar</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="llvm-as">
|
|
<term><command>llvm-as</command></term>
|
|
<listitem>
|
|
<para>
|
|
is the <application>LLVM</application> assembler.
|
|
</para>
|
|
<indexterm zone="llvm llvm-as">
|
|
<primary sortas="b-llvm-as">llvm-as</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="llvm-bcanalyzer">
|
|
<term><command>llvm-bcanalyzer</command></term>
|
|
<listitem>
|
|
<para>
|
|
is the <application>LLVM</application> bitcode analyzer.
|
|
</para>
|
|
<indexterm zone="llvm llvm-bcanalyzer">
|
|
<primary sortas="b-llvm-bcanalyzer">llvm-bcanalyzer</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="llvm-cat">
|
|
<term><command>llvm-cat</command></term>
|
|
<listitem>
|
|
<para>
|
|
is a tool to concatenate llvm modules.
|
|
</para>
|
|
<indexterm zone="llvm llvm-cat">
|
|
<primary sortas="b-llvm-cat">llvm-cat</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="llvm-cfi-verify">
|
|
<term><command>llvm-cfi-verify</command></term>
|
|
<listitem>
|
|
<para>
|
|
identifies whether Control Flow Integrity protects all indirect
|
|
control flow instructions in the provided object file, DSO, or
|
|
binary.
|
|
</para>
|
|
<indexterm zone="llvm llvm-cfi-verify">
|
|
<primary sortas="b-llvm-cfi-verify">llvm-cfi-verify</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="llvm-config">
|
|
<term><command>llvm-config</command></term>
|
|
<listitem>
|
|
<para>
|
|
Prints <application>LLVM</application> compilation options.
|
|
</para>
|
|
<indexterm zone="llvm llvm-config">
|
|
<primary sortas="b-llvm-config">llvm-config</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="llvm-cov">
|
|
<term><command>llvm-cov</command></term>
|
|
<listitem>
|
|
<para>
|
|
is used to emit coverage information.
|
|
</para>
|
|
<indexterm zone="llvm llvm-cov">
|
|
<primary sortas="b-llvm-cov">llvm-cov</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="llvm-c-test">
|
|
<term><command>llvm-c-test</command></term>
|
|
<listitem>
|
|
<para>
|
|
is a bytecode disassembler.
|
|
</para>
|
|
<indexterm zone="llvm llvm-c-test">
|
|
<primary sortas="b-llvm-c-test">llvm-c-test</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="llvm-cvtres">
|
|
<term><command>llvm-cvtres</command></term>
|
|
<listitem>
|
|
<para>
|
|
is a tool to convert Microsoft resource files to COFF.
|
|
</para>
|
|
<indexterm zone="llvm llvm-cvtres">
|
|
<primary sortas="b-llvm-cvtres">llvm-cvtres</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="llvm-cxxdump">
|
|
<term><command>llvm-cxxdump</command></term>
|
|
<listitem>
|
|
<para>
|
|
is used as a C++ ABI Data Dumper.
|
|
</para>
|
|
<indexterm zone="llvm llvm-cxxdump">
|
|
<primary sortas="b-llvm-cxxdump">llvm-cxxdump</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="llvm-cxxfilt">
|
|
<term><command>llvm-cxxfilt</command></term>
|
|
<listitem>
|
|
<para>
|
|
is used to demangle C++ symbols in llvm code.
|
|
</para>
|
|
<indexterm zone="llvm llvm-cxxfilt">
|
|
<primary sortas="b-llvm-cxxfilt">llvm-cxxfilt</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="llvm-cxxmap">
|
|
<term><command>llvm-cxxmap</command></term>
|
|
<listitem>
|
|
<para>
|
|
is used to remap C++ mangled symbols.
|
|
</para>
|
|
<indexterm zone="llvm llvm-cxxmap">
|
|
<primary sortas="b-llvm-cxxmap">llvm-cxxmap</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="llvm-diff">
|
|
<term><command>llvm-diff</command></term>
|
|
<listitem>
|
|
<para>
|
|
is the <application>LLVM</application> structural
|
|
'<command>diff</command>'.
|
|
</para>
|
|
<indexterm zone="llvm llvm-diff">
|
|
<primary sortas="b-llvm-diff">llvm-diff</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="llvm-dis">
|
|
<term><command>llvm-dis</command></term>
|
|
<listitem>
|
|
<para>
|
|
is the <application>LLVM</application> disassembler.
|
|
</para>
|
|
<indexterm zone="llvm llvm-dis">
|
|
<primary sortas="b-llvm-dis">llvm-dis</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="llvm-dwarfdump">
|
|
<term><command>llvm-dwarfdump</command></term>
|
|
<listitem>
|
|
<para>
|
|
prints the content of DWARF sections in object files.
|
|
</para>
|
|
<indexterm zone="llvm llvm-dwarfdump">
|
|
<primary sortas="b-llvm-dwarfdump">llvm-dwarfdump</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="llvm-dwp">
|
|
<term><command>llvm-dwp</command></term>
|
|
<listitem>
|
|
<para>
|
|
merges split DWARF files.
|
|
</para>
|
|
<indexterm zone="llvm llvm-dwp">
|
|
<primary sortas="b-llvm-dwp">llvm-dwp</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="llvm-elfabi">
|
|
<term><command>llvm-elfabi</command></term>
|
|
<listitem>
|
|
<para>
|
|
is used to read information about an ELF binary's ABI.
|
|
</para>
|
|
<indexterm zone="llvm llvm-elfabi">
|
|
<primary sortas="b-llvm-elfabi">llvm-elfabi</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="llvm-exegesis">
|
|
<term><command>llvm-exegesis</command></term>
|
|
<listitem>
|
|
<para>
|
|
is a benchmarking tool that uses information available in LLVM to
|
|
measure host machine instruction characteristics like latency or
|
|
port decomposition.
|
|
</para>
|
|
<indexterm zone="llvm llvm-exegesis">
|
|
<primary sortas="b-llvm-exegesis">llvm-exegesis</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="llvm-extract">
|
|
<term><command>llvm-extract</command></term>
|
|
<listitem>
|
|
<para>
|
|
is used to extract a function from an
|
|
<application>LLVM</application> module.
|
|
</para>
|
|
<indexterm zone="llvm llvm-extract">
|
|
<primary sortas="b-llvm-extract">llvm-extract</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="llvm-ifs">
|
|
<term><command>llvm-ifs</command></term>
|
|
<listitem>
|
|
<para>
|
|
is used to merge interface stubs with object files.
|
|
</para>
|
|
<indexterm zone="llvm llvm-ifs">
|
|
<primary sortas="b-llvm-ifs">llvm-ifs</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="llvm-install-name-tool">
|
|
<term><command>llvm-install-name-tool</command></term>
|
|
<listitem>
|
|
<para>
|
|
is used to rewrite load commands into MachO binary format.
|
|
</para>
|
|
<indexterm zone="llvm llvm-install-name-tool">
|
|
<primary sortas="b-llvm-install-name-tool">llvm-install-name-tool</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="llvm-jitlink">
|
|
<term><command>llvm-jitlink</command></term>
|
|
<listitem>
|
|
<para>
|
|
is used to parse relocatable object files to make their contents
|
|
executable in a target process.
|
|
</para>
|
|
<indexterm zone="llvm llvm-jitlink">
|
|
<primary sortas="b-llvm-jitlink">llvm-jitlink</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="llvm-link">
|
|
<term><command>llvm-link</command></term>
|
|
<listitem>
|
|
<para>
|
|
is the <application>LLVM</application> linker.
|
|
</para>
|
|
<indexterm zone="llvm llvm-link">
|
|
<primary sortas="b-llvm-link">llvm-link</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="llvm-lipo">
|
|
<term><command>llvm-lipo</command></term>
|
|
<listitem>
|
|
<para>
|
|
is used to create universal binaries from MachO files.
|
|
</para>
|
|
<indexterm zone="llvm llvm-lipo">
|
|
<primary sortas="b-llvm-lipo">llvm-lipo</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="llvm-lto">
|
|
<term><command>llvm-lto</command></term>
|
|
<listitem>
|
|
<para>
|
|
is the <application>LLVM</application> LTO (link time optimization)
|
|
linker.
|
|
</para>
|
|
<indexterm zone="llvm llvm-lto">
|
|
<primary sortas="b-llvm-lto">llvm-lto</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="llvm-lto2">
|
|
<term><command>llvm-lto2</command></term>
|
|
<listitem>
|
|
<para>
|
|
is a test harness for the resolution based LTO interface.
|
|
</para>
|
|
<indexterm zone="llvm llvm-lto2">
|
|
<primary sortas="b-llvm-lto2">llvm-lto2</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="llvm-mc">
|
|
<term><command>llvm-mc</command></term>
|
|
<listitem>
|
|
<para>
|
|
is a standalone machine code assembler/disassembler.
|
|
</para>
|
|
<indexterm zone="llvm llvm-mc">
|
|
<primary sortas="b-llvm-mc">llvm-mc</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="llvm-mca">
|
|
<term><command>llvm-mca</command></term>
|
|
<listitem>
|
|
<para>
|
|
is a is a performance analysis tool to statically measure the
|
|
performance of machine code.
|
|
</para>
|
|
<indexterm zone="llvm llvm-mca">
|
|
<primary sortas="b-llvm-mca">llvm-mca</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<!-- <varlistentry id="llvm-mcmarkup">
|
|
<term><command>llvm-mcmarkup</command></term>
|
|
<listitem>
|
|
<para>
|
|
is a parser for machine code markup.
|
|
</para>
|
|
<indexterm zone="llvm llvm-mcmarkup">
|
|
<primary sortas="b-llvm-mcmarkup">llvm-mcmarkup</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>-->
|
|
|
|
<varlistentry id="llvm-modextract">
|
|
<term><command>llvm-modextract</command></term>
|
|
<listitem>
|
|
<para>
|
|
is a tool to extract one module from multimodule bitcode files.
|
|
</para>
|
|
<indexterm zone="llvm llvm-modextract">
|
|
<primary sortas="b-llvm-modextract">llvm-modextract</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="llvm-mt">
|
|
<term><command>llvm-mt</command></term>
|
|
<listitem>
|
|
<para>
|
|
is a tool to generate signed files and catalogs from a
|
|
side-by-side assembly manifest (used for Microsoft SDK).
|
|
</para>
|
|
<indexterm zone="llvm llvm-mt">
|
|
<primary sortas="b-llvm-mt">llvm-mt</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="llvm-nm">
|
|
<term><command>llvm-nm</command></term>
|
|
<listitem>
|
|
<para>
|
|
is used to list <application>LLVM</application> bitcode
|
|
and object file's symbol table.
|
|
</para>
|
|
<indexterm zone="llvm llvm-nm">
|
|
<primary sortas="b-llvm-nm">llvm-nm</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="llvm-objcopy">
|
|
<term><command>llvm-objcopy</command></term>
|
|
<listitem>
|
|
<para>
|
|
is LLVM's version of an objcopy tool.
|
|
</para>
|
|
<indexterm zone="llvm llvm-objcopy">
|
|
<primary sortas="b-llvm-objcopy">llvm-objcopy</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="llvm-objdump">
|
|
<term><command>llvm-objdump</command></term>
|
|
<listitem>
|
|
<para>
|
|
is an <application>LLVM</application> object file dumper.
|
|
</para>
|
|
<indexterm zone="llvm llvm-objdump">
|
|
<primary sortas="b-llvm-objdump">llvm-objdump</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="llvm-opt-report">
|
|
<term><command>llvm-opt-report</command></term>
|
|
<listitem>
|
|
<para>
|
|
is a tool to generate an optimization report from YAML optimization
|
|
record files.
|
|
</para>
|
|
<indexterm zone="llvm llvm-opt-report">
|
|
<primary sortas="b-llvm-opt-report">llvm-opt-report</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="llvm-pdbutil">
|
|
<term><command>llvm-pdbutil</command></term>
|
|
<listitem>
|
|
<para>
|
|
is a PDB (Program Database) dumper. PDB is a Microsoft format.
|
|
</para>
|
|
<indexterm zone="llvm llvm-pdbutil">
|
|
<primary sortas="b-llvm-pdbutil">llvm-pdbutil</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="llvm-profdata">
|
|
<term><command>llvm-profdata</command></term>
|
|
<listitem>
|
|
<para>
|
|
is a small tool to manipulate and print profile data files.
|
|
</para>
|
|
<indexterm zone="llvm llvm-profdata">
|
|
<primary sortas="b-llvm-profdata">llvm-profdata</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="llvm-ranlib">
|
|
<term><command>llvm-ranlib</command></term>
|
|
<listitem>
|
|
<para>
|
|
is used to generate an index for a <application>LLVM</application>
|
|
archive.
|
|
</para>
|
|
<indexterm zone="llvm llvm-ranlib">
|
|
<primary sortas="b-llvm-ranlib">llvm-ranlib</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="llvm-rc">
|
|
<term><command>llvm-rc</command></term>
|
|
<listitem>
|
|
<para>
|
|
is a platform-independent tool to compile resource scripts
|
|
into binary resource files.
|
|
</para>
|
|
<indexterm zone="llvm llvm-rc">
|
|
<primary sortas="b-llvm-rc">llvm-rc</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="llvm-readobj">
|
|
<term><command>llvm-readobj</command></term>
|
|
<listitem>
|
|
<para>
|
|
displays low-level format-specific information about object files.
|
|
</para>
|
|
<indexterm zone="llvm llvm-readobj">
|
|
<primary sortas="b-llvm-readobj">llvm-readobj</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="llvm-reduce">
|
|
<term><command>llvm-reduce</command></term>
|
|
<listitem>
|
|
<para>
|
|
is used to automatically reduce testcases
|
|
when running a test suite.
|
|
</para>
|
|
<indexterm zone="llvm llvm-reduce">
|
|
<primary sortas="b-llvm-reduce">llvm-reduce</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="llvm-rtdyld">
|
|
<term><command>llvm-rtdyld</command></term>
|
|
<listitem>
|
|
<para>
|
|
is the <application>LLVM</application> MC-JIT tool.
|
|
</para>
|
|
<indexterm zone="llvm llvm-rtdyld">
|
|
<primary sortas="b-llvm-rtdyld">llvm-rtdyld</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="llvm-size">
|
|
<term><command>llvm-size</command></term>
|
|
<listitem>
|
|
<para>
|
|
is the <application>LLVM</application> object size dumper.
|
|
</para>
|
|
<indexterm zone="llvm llvm-size">
|
|
<primary sortas="b-llvm-size">llvm-size</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="llvm-split">
|
|
<term><command>llvm-split</command></term>
|
|
<listitem>
|
|
<para>
|
|
is the <application>LLVM</application> module splitter.
|
|
</para>
|
|
<indexterm zone="llvm llvm-split">
|
|
<primary sortas="b-llvm-split">llvm-split</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="llvm-stress">
|
|
<term><command>llvm-stress</command></term>
|
|
<listitem>
|
|
<para>
|
|
is used to generate random
|
|
<filename class="extension">.ll</filename> files.
|
|
</para>
|
|
<indexterm zone="llvm llvm-stress">
|
|
<primary sortas="b-llvm-stress">llvm-stress</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="llvm-strings">
|
|
<term><command>llvm-strings</command></term>
|
|
<listitem>
|
|
<para>
|
|
print strings found in a binary (object file, executable, or
|
|
archive library).
|
|
</para>
|
|
<indexterm zone="llvm llvm-strings">
|
|
<primary sortas="b-llvm-strings">llvm-strings</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="llvm-symbolizer">
|
|
<term><command>llvm-symbolizer</command></term>
|
|
<listitem>
|
|
<para>
|
|
converts adresses into source code locations.
|
|
</para>
|
|
<indexterm zone="llvm llvm-symbolizer">
|
|
<primary sortas="b-llvm-symbolizer">llvm-symbolizer</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="llvm-tblgen">
|
|
<term><command>llvm-tblgen</command></term>
|
|
<listitem>
|
|
<para>
|
|
is the <application>LLVM</application> Target Description
|
|
To C++ Code Generator.
|
|
</para>
|
|
<indexterm zone="llvm llvm-tblgen">
|
|
<primary sortas="b-llvm-tblgen">llvm-tblgen</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="llvm-undname">
|
|
<term><command>llvm-undname</command></term>
|
|
<listitem>
|
|
<para>
|
|
is a tool to demangle names.
|
|
</para>
|
|
<indexterm zone="llvm llvm-undname">
|
|
<primary sortas="b-llvm-undname">llvm-undname</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="llvm-xray">
|
|
<term><command>llvm-xray</command></term>
|
|
<listitem>
|
|
<para>
|
|
is an implementation of Google's XRay function call tracing system.
|
|
</para>
|
|
<indexterm zone="llvm llvm-xray">
|
|
<primary sortas="b-llvm-xray">llvm-xray</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="obj2yaml">
|
|
<term><command>obj2yaml</command></term>
|
|
<listitem>
|
|
<para>
|
|
takes an object file, and produces a YAML representation of the
|
|
file.
|
|
</para>
|
|
<indexterm zone="llvm obj2yaml">
|
|
<primary sortas="b-obj2yaml">obj2yaml</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="opt">
|
|
<term><command>opt</command></term>
|
|
<listitem>
|
|
<para>
|
|
is the <application>LLVM</application> optimizer.
|
|
</para>
|
|
<indexterm zone="llvm opt">
|
|
<primary sortas="b-opt">opt</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="sancov">
|
|
<term><command>sancov</command></term>
|
|
<listitem>
|
|
<para>
|
|
is the sanitizer coverage processing tool.
|
|
</para>
|
|
<indexterm zone="llvm sancov">
|
|
<primary sortas="b-sancov">sancov</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="sanstats">
|
|
<term><command>sanstats</command></term>
|
|
<listitem>
|
|
<para>
|
|
is the sanitizer statistics processing tool.
|
|
</para>
|
|
<indexterm zone="llvm sanstats">
|
|
<primary sortas="b-sanstats">sanstats</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="scan-build">
|
|
<term><command>scan-build</command></term>
|
|
<listitem>
|
|
<para>
|
|
is a <application>Perl</application> script that invokes the
|
|
<application>Clang</application> static analyzer.
|
|
</para>
|
|
<indexterm zone="llvm scan-build">
|
|
<primary sortas="b-scan-build">scan-build</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="scan-view">
|
|
<term><command>scan-view</command></term>
|
|
<listitem>
|
|
<para>
|
|
is a viewer for <application>Clang</application> static analyzer
|
|
results.
|
|
</para>
|
|
<indexterm zone="llvm scan-view">
|
|
<primary sortas="b-scan-view">scan-view</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="verify-uselistorder">
|
|
<term><command>verify-uselistorder</command></term>
|
|
<listitem>
|
|
<para>
|
|
is the <application>LLVM</application> tool to verify use-list
|
|
order.
|
|
</para>
|
|
<indexterm zone="llvm verify-uselistorder">
|
|
<primary sortas="b-verify-uselistorder">verify-uselistorder</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="yaml2obj">
|
|
<term><command>yaml2obj</command></term>
|
|
<listitem>
|
|
<para>
|
|
takes a YAML representation of an object file and converts it
|
|
to a binary file.
|
|
</para>
|
|
<indexterm zone="llvm yaml2obj">
|
|
<primary sortas="b-yaml2obj">yaml2obj</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
<!--
|
|
<varlistentry id="libllvm">
|
|
<term><filename class="libraryfile">libLLVM-&llvm-version;.so</filename></term>
|
|
<listitem>
|
|
<para>
|
|
contains the <application>LLVM</application> API functions.
|
|
</para>
|
|
<indexterm zone="llvm libllvm">
|
|
<primary sortas="c-libllvm">libLLVM-&llvm-version;.so</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="libprofile_rt">
|
|
<term><filename class="libraryfile">libprofile_rt.so</filename></term>
|
|
<listitem>
|
|
<para>
|
|
is the C, C++ and Objective-C runtime library for
|
|
<application>Clang</application>.
|
|
</para>
|
|
<indexterm zone="llvm libprofile_rt">
|
|
<primary sortas="c-libprofile_rt">libprofile_rt.so</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>-->
|
|
|
|
</variablelist>
|
|
|
|
</sect2>
|
|
|
|
</sect1>
|