r300270 - [docs] Fix a couple of typos in command line flag help text and regenerate documentation.
Richard Smith via cfe-commits
cfe-commits at lists.llvm.org
Thu Apr 13 15:39:49 PDT 2017
Author: rsmith
Date: Thu Apr 13 17:39:49 2017
New Revision: 300270
URL: http://llvm.org/viewvc/llvm-project?rev=300270&view=rev
Log:
[docs] Fix a couple of typos in command line flag help text and regenerate documentation.
Modified:
cfe/trunk/docs/ClangCommandLineReference.rst
cfe/trunk/include/clang/Driver/Options.td
Modified: cfe/trunk/docs/ClangCommandLineReference.rst
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/docs/ClangCommandLineReference.rst?rev=300270&r1=300269&r2=300270&view=diff
==============================================================================
--- cfe/trunk/docs/ClangCommandLineReference.rst (original)
+++ cfe/trunk/docs/ClangCommandLineReference.rst Thu Apr 13 17:39:49 2017
@@ -198,6 +198,10 @@ Specify comma-separated list of triples
.. 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
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'
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
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 o
.. 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 pa
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 function
.. 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
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 ex
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
.. 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 c
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 instru
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 S
.. 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 S
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, sin
.. 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, sin
.. 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 co
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>
Modified: cfe/trunk/include/clang/Driver/Options.td
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Driver/Options.td?rev=300270&r1=300269&r2=300270&view=diff
==============================================================================
--- cfe/trunk/include/clang/Driver/Options.td (original)
+++ cfe/trunk/include/clang/Driver/Options.td Thu Apr 13 17:39:49 2017
@@ -402,11 +402,11 @@ def R_Joined : Joined<["-"], "R">, Group
def S : Flag<["-"], "S">, Flags<[DriverOption,CC1Option]>, Group<Action_Group>,
HelpText<"Only run preprocess and compilation steps">;
def Tbss : JoinedOrSeparate<["-"], "Tbss">, Group<T_Group>,
- MetaVarName<"<addr">, HelpText<"Set starting address of BSS to <addr>">;
+ MetaVarName<"<addr>">, HelpText<"Set starting address of BSS to <addr>">;
def Tdata : JoinedOrSeparate<["-"], "Tdata">, Group<T_Group>,
- MetaVarName<"<addr">, HelpText<"Set starting address of BSS to <addr>">;
+ MetaVarName<"<addr>">, HelpText<"Set starting address of BSS to <addr>">;
def Ttext : JoinedOrSeparate<["-"], "Ttext">, Group<T_Group>,
- MetaVarName<"<addr">, HelpText<"Set starting address of BSS to <addr>">;
+ MetaVarName<"<addr>">, HelpText<"Set starting address of BSS to <addr>">;
def T : JoinedOrSeparate<["-"], "T">, Group<T_Group>,
MetaVarName<"<script>">, HelpText<"Specify <script> as linker script">;
def U : JoinedOrSeparate<["-"], "U">, Group<Preprocessor_Group>,
@@ -1908,7 +1908,7 @@ def mpie_copy_relocations : Flag<["-"],
Flags<[CC1Option]>,
HelpText<"Use copy relocations support for PIE builds">;
def mno_pie_copy_relocations : Flag<["-"], "mno-pie-copy-relocations">, Group<m_Group>;
-def mfentry : Flag<["-"], "mfentry">, HelpText<"insert calls to fentry at function entry (x86 only)">,
+def mfentry : Flag<["-"], "mfentry">, HelpText<"Insert calls to fentry at function entry (x86 only)">,
Flags<[CC1Option]>, Group<m_Group>;
def mx87 : Flag<["-"], "mx87">, Group<m_x86_Features_Group>;
def m80387 : Flag<["-"], "m80387">, Alias<mx87>;
More information about the cfe-commits
mailing list