summaryrefslogtreecommitdiffstats
path: root/clang/docs/ClangCommandLineReference.rst
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2017-04-13 22:39:49 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2017-04-13 22:39:49 +0000
commit78e23fded4acc51bc7e728c8d4e2de2874ba4605 (patch)
tree8ef092f15d3fab82974349a0f45d5fa1c3270578 /clang/docs/ClangCommandLineReference.rst
parent56db14516450f980e69034f7d8a7be1e1f133c52 (diff)
downloadbcm5719-llvm-78e23fded4acc51bc7e728c8d4e2de2874ba4605.tar.gz
bcm5719-llvm-78e23fded4acc51bc7e728c8d4e2de2874ba4605.zip
[docs] Fix a couple of typos in command line flag help text and regenerate documentation.
llvm-svn: 300270
Diffstat (limited to 'clang/docs/ClangCommandLineReference.rst')
-rw-r--r--clang/docs/ClangCommandLineReference.rst68
1 files changed, 57 insertions, 11 deletions
diff --git a/clang/docs/ClangCommandLineReference.rst b/clang/docs/ClangCommandLineReference.rst
index fb4c4a67bbe..add168829e1 100644
--- a/clang/docs/ClangCommandLineReference.rst
+++ b/clang/docs/ClangCommandLineReference.rst
@@ -198,6 +198,10 @@ Specify comma-separated list of triples OpenMP offloading targets to be supporte
.. option:: -framework <arg>
+.. option:: -frtlib-add-rpath, -fno-rtlib-add-rpath
+
+Add -rpath with architecture-specific resource directory to the linker flags
+
.. option:: --gcc-toolchain=<arg>, -gcc-toolchain <arg>
Use the gcc toolchain at the given directory
@@ -238,6 +242,8 @@ Make the next included directory (-I or -F) an indexer header map
Run the migrator
+.. option:: -mios-simulator-version-min=<arg>, -miphonesimulator-version-min=<arg>
+
.. option:: -mlinker-version=<arg>
.. option:: -mlittle-endian, -EL
@@ -250,6 +256,8 @@ Additional arguments to forward to LLVM's option processing
Directory to dump module dependencies to
+.. option:: -mtvos-simulator-version-min=<arg>, -mappletvsimulator-version-min=<arg>
+
.. option:: -multi\_module
.. option:: -multiply\_defined <arg>
@@ -258,6 +266,8 @@ Directory to dump module dependencies to
.. option:: -multiply\_defined\_unused <arg>
.. program:: clang
+.. option:: -mwatchos-simulator-version-min=<arg>, -mwatchsimulator-version-min=<arg>
+
.. option:: --no-cuda-version-check
Don't error out if the detected version of the CUDA install is too low for the requested CUDA gpu architecture.
@@ -416,6 +426,10 @@ Print the library path for the currently used compiler runtime library ("libgcc.
Print the full program path of <name>
+.. option:: -print-resource-dir, --print-resource-dir
+
+Print the resource directory pathname
+
.. option:: -print-search-dirs, --print-search-dirs
Print the paths used for finding libraries and programs
@@ -678,6 +692,8 @@ Inline functions which are (explicitly or implicitly) marked inline
.. option:: -fno-crash-diagnostics
+Disable auto-generation of preprocessed source files and a script for reproduction during a clang crash
+
.. option:: -fno-sanitize-blacklist
Don't use blacklist file for sanitizers
@@ -872,6 +888,10 @@ Add directory to AFTER include search path
Add directory to SYSTEM framework search path
+.. option:: -iframeworkwithsysroot<directory>
+
+Add directory to SYSTEM framework search path, absolute paths are relative to -isysroot
+
.. option:: -imacros<file>, --imacros<file>, --imacros=<arg>
Include macros from file before parsing
@@ -1053,9 +1073,7 @@ Enable C++17 aligned allocation functions
.. option:: -fallow-unsupported
-.. option:: -maltivec, -mno-altivec
-
-Enable AltiVec vector initializer syntax
+.. option:: -faltivec, -fno-altivec
.. option:: -fansi-escape-codes
@@ -1155,6 +1173,10 @@ Place each data in its own section (ELF Only)
Emit extra debug info to make sample profile more accurate.
+.. option:: -fdebug-macro, -fno-debug-macro
+
+Emit macro debug information
+
.. option:: -fdebug-pass-arguments
.. option:: -fdebug-pass-structure
@@ -1531,7 +1553,11 @@ Generate instrumented code to collect execution counts into <file> (overridden b
Use instrumentation data for profile-guided optimization
+.. option:: -fprofile-sample-use, -fauto-profile, -fno-profile-sample-use
+
+.. program:: clang1
.. option:: -fprofile-sample-use=<arg>, -fauto-profile=<arg>
+.. program:: clang
Enable sample-based profile guided optimizations
@@ -1653,7 +1679,7 @@ Enable optimizations based on the strict definition of an enum's value range
.. option:: -fstrict-return, -fno-strict-return
-Always treat control flow paths that fall off the end of a non-voidfunction as unreachable
+Always treat control flow paths that fall off the end of a non-void function as unreachable
.. option:: -fstrict-vtable-pointers, -fno-strict-vtable-pointers
@@ -1765,6 +1791,10 @@ Treat signed integer overflow as two's complement
Store string literals as writable data
+.. option:: -fxray-always-instrument=<arg>
+
+Filename defining the whitelist for imbuing the 'always instrument' XRay attribute.
+
.. option:: -fxray-instruction-threshold<arg>
.. program:: clang1
@@ -1777,6 +1807,10 @@ Sets the minimum function size to instrument with XRay
Generate XRay instrumentation sleds on function entry and exit
+.. option:: -fxray-never-instrument=<arg>
+
+Filename defining the whitelist for imbuing the 'never instrument' XRay attribute.
+
.. option:: -fzero-initialized-in-bss, -fno-zero-initialized-in-bss
.. option:: -fzvector, -fno-zvector, -mzvector
@@ -1875,7 +1909,7 @@ Link stack frames through backchain on System Z
.. option:: -mconsole<arg>
-.. option:: -mcpu=<arg>, -mv4 (equivalent to -mcpu=hexagonv4), -mv5 (equivalent to -mcpu=hexagonv5), -mv55 (equivalent to -mcpu=hexagonv55), -mv60 (equivalent to -mcpu=hexagonv60)
+.. option:: -mcpu=<arg>, -mv4 (equivalent to -mcpu=hexagonv4), -mv5 (equivalent to -mcpu=hexagonv5), -mv55 (equivalent to -mcpu=hexagonv55), -mv60 (equivalent to -mcpu=hexagonv60), -mv62 (equivalent to -mcpu=hexagonv62)
.. option:: -mdll<arg>
@@ -1891,6 +1925,10 @@ Link stack frames through backchain on System Z
Set EABI type, e.g. 4, 5 or gnu (default depends on triple)
+.. option:: -mfentry
+
+Insert calls to fentry at function entry (x86 only)
+
.. option:: -mfloat-abi=<arg>
.. option:: -mfp32
@@ -1925,7 +1963,7 @@ Use Intel MCU ABI
(integrated-as) Emit an object file which can be used with an incremental linker
-.. option:: -miphoneos-version-min=<arg>, -mios-simulator-version-min=<arg>, -mios-version-min=<arg>, -miphonesimulator-version-min=<arg>
+.. option:: -miphoneos-version-min=<arg>, -mios-version-min=<arg>
.. option:: -mips16
@@ -2015,7 +2053,7 @@ The thread model to use, e.g. posix, single (posix by default)
.. option:: -mtune=<arg>
-.. option:: -mtvos-version-min=<arg>, -mappletvos-version-min=<arg>, -mappletvsimulator-version-min=<arg>, -mtvos-simulator-version-min=<arg>
+.. option:: -mtvos-version-min=<arg>, -mappletvos-version-min=<arg>
.. option:: -municode<arg>
@@ -2023,7 +2061,7 @@ The thread model to use, e.g. posix, single (posix by default)
.. option:: -mwarn-nonportable-cfstrings, -mno-warn-nonportable-cfstrings
-.. option:: -mwatchos-version-min=<arg>, -mwatchos-simulator-version-min=<arg>, -mwatchsimulator-version-min=<arg>
+.. option:: -mwatchos-version-min=<arg>
.. option:: -mwindows<arg>
@@ -2065,6 +2103,10 @@ Disallow generation of data access to code sections (ARM only)
Disallow use of movt/movw pairs (ARM only)
+.. option:: -mno-neg-immediates
+
+Disallow converting instructions with negative immediates to their negation or inversion.
+
.. option:: -mnocrc
Disallow use of CRC instructions (ARM only)
@@ -2091,6 +2133,8 @@ Enable Hexagon Double Vector eXtensions
PowerPC
-------
+.. option:: -maltivec, -mno-altivec
+
.. option:: -mcmpb, -mno-cmpb
.. option:: -mcrbits, -mno-crbits
@@ -2167,6 +2211,8 @@ X86
.. option:: -mclwb, -mno-clwb
+.. option:: -mclzero, -mno-clzero
+
.. option:: -mcx16, -mno-cx16
.. option:: -mf16c, -mno-f16c
@@ -2491,15 +2537,15 @@ Add directory to library search path
Specify <script> as linker script
-.. option:: -Tbss<addr
+.. option:: -Tbss<addr>
Set starting address of BSS to <addr>
-.. option:: -Tdata<addr
+.. option:: -Tdata<addr>
Set starting address of BSS to <addr>
-.. option:: -Ttext<addr
+.. option:: -Ttext<addr>
Set starting address of BSS to <addr>
OpenPOWER on IntegriCloud