================
@@ -5036,60 +5036,72 @@ Execute ``clang-cl /?`` to see a list of supported
options:
CL.EXE COMPATIBILITY OPTIONS:
/? Display available options
/arch:<value> Set architecture for code generation
- /Brepro- Emit an object file which cannot be reproduced
over time
- /Brepro Emit an object file which can be reproduced over
time
+ /arm64EC Set build target to arm64ec
+ /Brepro- Write current time into COFF output (default)
+ /Brepro Do not write current time into COFF output
(breaks link.exe /incremental)
/clang:<arg> Pass <arg> to the clang driver
- /C Don't discard comments when preprocessing
+ /C Do not discard comments when preprocessing
/c Compile only
/d1PP Retain macro definitions in /E mode
/d1reportAllClassLayout Dump record layout information
- /diagnostics:caret Enable caret and column diagnostics (on by
default)
+ /d2epilogunwindrequirev2
+ Require generation of unwind v2 (epilog)
information for x64 Windows
+ /d2epilogunwind Best effort generate unwind v2 (epilog)
information for x64 Windows
+ /diagnostics:caret Enable caret and column diagnostics (default)
/diagnostics:classic Disable column and caret diagnostics
/diagnostics:column Disable caret diagnostics but keep column info
+ /diasdkdir <dir> Path to the DIA SDK
/D <macro[=value]> Define macro
- /EH<value> Exception handling model
+ /EH<value> Set exception handling model
/EP Disable linemarker output and preprocess to
stdout
/execution-charset:<value>
- Runtime encoding, supports only UTF-8
+ Set runtime encoding, supports only UTF-8
+ /external:env:<var> Add dirs in env var <var> to include search path
with warnings suppressed
+ /external:I <dir> Add directory to include search path with
warnings suppressed
+ /external:W0 Ignore warnings from system headers (default)
+ /external:W1 Enable -Wsystem-headers
+ /external:W2 Enable -Wsystem-headers
+ /external:W3 Enable -Wsystem-headers
+ /external:W4 Enable -Wsystem-headers
/E Preprocess to stdout
- /FA Output assembly code file during compilation
- /Fa<file or directory> Output assembly code to this file during
compilation (with /FA)
- /Fe<file or directory> Set output executable file or directory (ends in
/ or \)
+ /FA<value> Output assembly code file during compilation
+ /Fa<file or dir/> Set assembly output file name (with /FA)
+ /Fe<file or dir/> Set output executable file name
----------------
zmodem wrote:
For background, I would normally update this list (as Lucas says, it's just the
output of `clang-cl /?`) before each Clang release, but I probably missed the
last ones.
That started before https://clang.llvm.org/docs/ClangCommandLineReference.html
existed. That one does get updated automatically based on the tablegen files.
The ideal would be if we could have something similar for clang-cl, but someone
would have to set it up. I'd be very happy to review such a patch :-)
https://github.com/llvm/llvm-project/pull/187395
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits