diff --git a/llvm/docs/CommandGuide/llvm-config.rst b/llvm/docs/CommandGuide/llvm-config.rst --- a/llvm/docs/CommandGuide/llvm-config.rst +++ b/llvm/docs/CommandGuide/llvm-config.rst @@ -29,13 +29,13 @@ OPTIONS ------- -**--version** +**--help** - Print the version number of LLVM. + Print a summary of **llvm-config** arguments. -**-help** +**--version** - Print a summary of **llvm-config** arguments. + Print the version number of LLVM. **--prefix** @@ -61,6 +61,18 @@ Print the installation directory for LLVM libraries. +**--cmakedir** + + Print the installation directory for LLVM cmake modules. + +**--cppflags** + + Print the C preprocessor flags needed to use LLVM headers. + +**--cflags** + + Print the C compiler flags needed to use LLVM headers. + **--cxxflags** Print the C++ compiler flags needed to use LLVM headers. @@ -69,6 +81,11 @@ Print the flags needed to link against LLVM libraries. +**--system-libs** + + Print all the system libraries needed to link against the specified LLVM + *components*, including any dependencies. + **--libs** Print all the libraries needed to link against the specified LLVM @@ -94,9 +111,41 @@ Print the component names for all targets supported by this copy of LLVM. +**--host-target** + + Print the target triple used to configure LLVM. + **--build-mode** - Print the build mode used when LLVM was built (e.g. Debug or Release) + Print the build mode used when LLVM was built (e.g. Debug or Release). + +**--assertion-mode** + + Print the assertion mode used when LLVM was built (ON or OFF). + +**--build-system** + + Print the build system used to build LLVM (always cmake). + +**--has-rtti** + + Print whether or not LLVM was built with rtti (YES or NO). + +**--shared-mode** + + Print how the provided components can be collectively linked (`shared` or `static`). + +**--link-shared** + + Link the components as shared libraries. + +**--link-static** + + Link the component libraries statically. + +**--ignore-libllvm** + + Ignore libLLVM and link component libraries instead. COMPONENTS