From 78e23fded4acc51bc7e728c8d4e2de2874ba4605 Mon Sep 17 00:00:00 2001 From: Richard Smith Date: Thu, 13 Apr 2017 22:39:49 +0000 Subject: [PATCH] [docs] Fix a couple of typos in command line flag help text and regenerate documentation. llvm-svn: 300270 --- clang/docs/ClangCommandLineReference.rst | 68 ++++++++++++++++++++++++++------ clang/include/clang/Driver/Options.td | 8 ++-- 2 files changed, 61 insertions(+), 15 deletions(-) diff --git a/clang/docs/ClangCommandLineReference.rst b/clang/docs/ClangCommandLineReference.rst index fb4c4a6..add1688 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 +.. option:: -frtlib-add-rpath, -fno-rtlib-add-rpath + +Add -rpath with architecture-specific resource directory to the linker flags + .. option:: --gcc-toolchain=, -gcc-toolchain 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=, -miphonesimulator-version-min= + .. option:: -mlinker-version= .. 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=, -mappletvsimulator-version-min= + .. option:: -multi\_module .. option:: -multiply\_defined @@ -258,6 +266,8 @@ Directory to dump module dependencies to .. option:: -multiply\_defined\_unused .. program:: clang +.. option:: -mwatchos-simulator-version-min=, -mwatchsimulator-version-min= + .. 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 +.. 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 + +Add directory to SYSTEM framework search path, absolute paths are relative to -isysroot + .. option:: -imacros, --imacros, --imacros= 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 (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=, -fauto-profile= +.. 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= + +Filename defining the whitelist for imbuing the 'always instrument' XRay attribute. + .. option:: -fxray-instruction-threshold .. 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= + +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 -.. option:: -mcpu=, -mv4 (equivalent to -mcpu=hexagonv4), -mv5 (equivalent to -mcpu=hexagonv5), -mv55 (equivalent to -mcpu=hexagonv55), -mv60 (equivalent to -mcpu=hexagonv60) +.. option:: -mcpu=, -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 @@ -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= .. 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=, -mios-simulator-version-min=, -mios-version-min=, -miphonesimulator-version-min= +.. option:: -miphoneos-version-min=, -mios-version-min= .. option:: -mips16 @@ -2015,7 +2053,7 @@ The thread model to use, e.g. posix, single (posix by default) .. option:: -mtune= -.. option:: -mtvos-version-min=, -mappletvos-version-min=, -mappletvsimulator-version-min=, -mtvos-simulator-version-min= +.. option:: -mtvos-version-min=, -mappletvos-version-min= .. option:: -municode @@ -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=, -mwatchos-simulator-version-min=, -mwatchsimulator-version-min= +.. option:: -mwatchos-version-min= .. option:: -mwindows @@ -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