UsersManual.rst: Update clang-cl options list
llvm-svn: 291783
This commit is contained in:
parent
1bcabc4918
commit
715dd7fe33
|
@ -2462,7 +2462,7 @@ Clang expects the GCC executable "gcc.exe" compiled for
|
|||
clang-cl
|
||||
========
|
||||
|
||||
clang-cl is an alternative command-line interface to Clang driver, designed for
|
||||
clang-cl is an alternative command-line interface to Clang, designed for
|
||||
compatibility with the Visual C++ compiler, cl.exe.
|
||||
|
||||
To enable clang-cl to find system headers, libraries, and the linker when run
|
||||
|
@ -2514,6 +2514,8 @@ Execute ``clang-cl /?`` to see a list of supported options:
|
|||
/D <macro[=value]> Define macro
|
||||
/EH<value> Exception handling model
|
||||
/EP Disable linemarker output and preprocess to stdout
|
||||
/execution-charset:<value>
|
||||
Runtime encoding, supports only UTF-8
|
||||
/E Preprocess to stdout
|
||||
/fallback Fall back to cl.exe if clang-cl fails to compile
|
||||
/FA Output assembly code file during compilation
|
||||
|
@ -2567,6 +2569,7 @@ Execute ``clang-cl /?`` to see a list of supported options:
|
|||
/Qvec- Disable the loop vectorization passes
|
||||
/Qvec Enable the loop vectorization passes
|
||||
/showIncludes Print info about included files to stderr
|
||||
/source-charset:<value> Source encoding, supports only UTF-8
|
||||
/std:<value> Language standard to compile for
|
||||
/TC Treat all source files as C
|
||||
/Tc <filename> Specify a C source file
|
||||
|
@ -2613,8 +2616,13 @@ Execute ``clang-cl /?`` to see a list of supported options:
|
|||
--analyze Run the static analyzer
|
||||
-fansi-escape-codes Use ANSI escape codes for diagnostics
|
||||
-fcolor-diagnostics Use colors in diagnostics
|
||||
-fdelayed-template-parsing
|
||||
Parse templated function definitions at the end of the translation unit
|
||||
-fdiagnostics-absolute-paths
|
||||
Print absolute paths in diagnostics
|
||||
-fdiagnostics-parseable-fixits
|
||||
Print fix-its in machine parseable form
|
||||
-flto Enable LTO in 'full' mode
|
||||
-fms-compatibility-version=<value>
|
||||
Dot-separated value representing the Microsoft compiler version
|
||||
number to report in _MSC_VER (0 = don't define it (default))
|
||||
|
@ -2628,6 +2636,15 @@ Execute ``clang-cl /?`` to see a list of supported options:
|
|||
Disable recovery for specified sanitizers
|
||||
-fno-sanitize-trap=<value>
|
||||
Disable trapping for specified sanitizers
|
||||
-fno-standalone-debug Limit debug information produced to reduce size of debug binary
|
||||
-fprofile-instr-generate=<file>
|
||||
Generate instrumented code to collect execution counts into <file>
|
||||
(overridden by LLVM_PROFILE_FILE env var)
|
||||
-fprofile-instr-generate
|
||||
Generate instrumented code to collect execution counts into default.profraw file
|
||||
(overriden by '=' form of option or LLVM_PROFILE_FILE env var)
|
||||
-fprofile-instr-use=<value>
|
||||
Use instrumentation data for profile-guided optimization
|
||||
-fsanitize-blacklist=<value>
|
||||
Path to blacklist file for sanitizers
|
||||
-fsanitize-coverage=<value>
|
||||
|
@ -2637,6 +2654,7 @@ Execute ``clang-cl /?`` to see a list of supported options:
|
|||
-fsanitize-trap=<value> Enable trapping for specified sanitizers
|
||||
-fsanitize=<check> Turn on runtime checks for various forms of undefined or suspicious
|
||||
behavior. See user manual for available checks
|
||||
-fstandalone-debug Emit full debug info for all types used by the program
|
||||
-gcodeview Generate CodeView debug information
|
||||
-gline-tables-only Emit debug line number tables only
|
||||
-miamcu Use Intel MCU ABI
|
||||
|
|
Loading…
Reference in New Issue