summaryrefslogtreecommitdiffstats
path: root/llvm/docs/CommandGuide/llvm-config.rst
diff options
context:
space:
mode:
authorAlex Brachet <alexbrachetmialot@gmail.com>2019-07-04 04:41:06 +0000
committerAlex Brachet <alexbrachetmialot@gmail.com>2019-07-04 04:41:06 +0000
commitfa9d232e4389bbd9ca82f8b6b34a1784107835fc (patch)
treecbf185c584708a831924d2ca743044caf151a8a6 /llvm/docs/CommandGuide/llvm-config.rst
parent469f30ababa5fea0dafe8dd4592c3b0a1298d6fc (diff)
downloadbcm5719-llvm-fa9d232e4389bbd9ca82f8b6b34a1784107835fc.tar.gz
bcm5719-llvm-fa9d232e4389bbd9ca82f8b6b34a1784107835fc.zip
[docs] [NFC] Removed excess spacing
Summary: Removed excess new lines from documentations. As far as I can tell, it seems as though restructured text is agnostic to new lines, the use of new lines was inconsistent and had no effect on how the files were being displayed. Reviewers: jhenderson, rupprecht, JDevlieghere Reviewed By: jhenderson Subscribers: llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D63971 llvm-svn: 365105
Diffstat (limited to 'llvm/docs/CommandGuide/llvm-config.rst')
-rw-r--r--llvm/docs/CommandGuide/llvm-config.rst51
1 files changed, 0 insertions, 51 deletions
diff --git a/llvm/docs/CommandGuide/llvm-config.rst b/llvm/docs/CommandGuide/llvm-config.rst
index caee955c5fe..15900668559 100644
--- a/llvm/docs/CommandGuide/llvm-config.rst
+++ b/llvm/docs/CommandGuide/llvm-config.rst
@@ -6,172 +6,121 @@ llvm-config - Print LLVM compilation options
SYNOPSIS
--------
-
**llvm-config** *option* [*components*...]
-
DESCRIPTION
-----------
-
**llvm-config** makes it easier to build applications that use LLVM. It can
print the compiler flags, linker flags and object libraries needed to link
against LLVM.
-
EXAMPLES
--------
-
To link against the JIT:
-
.. code-block:: sh
g++ `llvm-config --cxxflags` -o HowToUseJIT.o -c HowToUseJIT.cpp
g++ `llvm-config --ldflags` -o HowToUseJIT HowToUseJIT.o \
`llvm-config --libs engine bcreader scalaropts`
-
-
OPTIONS
-------
-
-
**--version**
Print the version number of LLVM.
-
-
**-help**
Print a summary of **llvm-config** arguments.
-
-
**--prefix**
Print the installation prefix for LLVM.
-
-
**--src-root**
Print the source root from which LLVM was built.
-
-
**--obj-root**
Print the object root used to build LLVM.
-
-
**--bindir**
Print the installation directory for LLVM binaries.
-
-
**--includedir**
Print the installation directory for LLVM headers.
-
-
**--libdir**
Print the installation directory for LLVM libraries.
-
-
**--cxxflags**
Print the C++ compiler flags needed to use LLVM headers.
-
-
**--ldflags**
Print the flags needed to link against LLVM libraries.
-
-
**--libs**
Print all the libraries needed to link against the specified LLVM
*components*, including any dependencies.
-
-
**--libnames**
Similar to **--libs**, but prints the bare filenames of the libraries
without **-l** or pathnames. Useful for linking against a not-yet-installed
copy of LLVM.
-
-
**--libfiles**
Similar to **--libs**, but print the full path to each library file. This is
useful when creating makefile dependencies, to ensure that a tool is relinked if
any library it uses changes.
-
-
**--components**
Print all valid component names.
-
-
**--targets-built**
Print the component names for all targets supported by this copy of LLVM.
-
-
**--build-mode**
Print the build mode used when LLVM was built (e.g. Debug or Release)
-
-
COMPONENTS
----------
-
To print a list of all available components, run **llvm-config
--components**. In most cases, components correspond directly to LLVM
libraries. Useful "virtual" components include:
-
**all**
Includes all LLVM libraries. The default if no components are specified.
-
-
**backend**
Includes either a native backend or the C backend.
-
-
**engine**
Includes either a native JIT or the bitcode interpreter.
-
-
EXIT STATUS
-----------
-
If **llvm-config** succeeds, it will exit with 0. Otherwise, if an error
occurs, it will exit with a non-zero value.
OpenPOWER on IntegriCloud