HIP: Heterogenous-computing Interface for Portability: Support of Clang options

HIP: Heterogenous-computing Interface for Portability

Support of Clang options

Clang version: clang version 12.0.0 927e2776dc0e4bb0119efbc5ea405b7425d7f4ac

Option | Support | Description
--- | --- | ---
`-###` | Supported | `Print (but do not run) the commands to run for this compilation`
`--analyzer-output <value>` | Supported | `Static analyzer report output format (html\|plist\|plist-multi-file\|plist-html\|sarif\|text).`
`--analyze` | Supported | `Run the static analyzer`
`-arcmt-migrate-emit-errors` | Unsupported | `Emit ARC errors even if the migrator can fix them`
`-arcmt-migrate-report-output <value>` | Unsupported | `Output path for the plist report`
`-byteswapio` | Supported | `Swap byte-order for unformatted input/output`
`-B <dir>` | Supported | `Add <dir> to search path for binaries and object files used implicitly`
`-CC` | Supported | `Include comments from within macros in preprocessed output`
`-cl-denorms-are-zero` | Supported | `OpenCL only. Allow denormals to be flushed to zero.`
`-cl-fast-relaxed-math` | Supported | `OpenCL only. Sets -cl-finite-math-only and -cl-unsafe-math-optimizations, and defines __FAST_RELAXED_MATH__.`
`-cl-finite-math-only` | Supported | `OpenCL only. Allow floating-point optimizations that assume arguments and results are not NaNs or +-Inf.`
`-cl-fp32-correctly-rounded-divide-sqrt` | Supported | `OpenCL only. Specify that single precision floating-point divide and sqrt used in the program source are correctly rounded.`
`-cl-kernel-arg-info` | Supported | `OpenCL only. Generate kernel argument metadata.`
`-cl-mad-enable` | Supported | `OpenCL only. Allow use of less precise MAD computations in the generated binary.`
`-cl-no-signed-zeros` | Supported | `OpenCL only. Allow use of less precise no signed zeros computations in the generated binary.`
`-cl-opt-disable` | Supported | `OpenCL only. This option disables all optimizations. By default optimizations are enabled.`
`-cl-single-precision-constant` | Supported | `OpenCL only. Treat double precision floating-point constant as single precision constant.`
`-cl-std=<value>` | Supported | `OpenCL language standard to compile for.`
`-cl-strict-aliasing` | Supported | `OpenCL only. This option is added for compatibility with OpenCL 1.0.`
`-cl-uniform-work-group-size` | Supported | `OpenCL only. Defines that the global work-size be a multiple of the work-group size specified to clEnqueueNDRangeKernel`
`-cl-unsafe-math-optimizations` | Supported | `OpenCL only. Allow unsafe floating-point optimizations. Also implies -cl-no-signed-zeros and -cl-mad-enable.`
`--config <value>` | Supported | `Specifies configuration file`
`--cuda-compile-host-device` | Supported | `Compile CUDA code for both host and device (default). Has no effect on non-CUDA compilations.`
`--cuda-device-only` | Supported | `Compile CUDA code for device only`
`--cuda-host-only` | Supported | `Compile CUDA code for host only. Has no effect on non-CUDA compilations.`
`--cuda-include-ptx=<value>` | Unsupported | ‘Include PTX for the following GPU architecture (e.g. sm_35) or 'all’. May be specified more than once.`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`–cuda-noopt-device-debug`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Enable device-side debug info generation. Disables ptxas optimizations.`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`–cuda-path-ignore-env`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Ignore environment variables to detect CUDA installation`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`–cuda-path= `</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`CUDA installation path`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-cxx-isystem <directory>`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Add directory to the C++ SYSTEM include search path`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-C`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Include comments in preprocessed output`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-c`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Only run preprocess, compile, and assemble steps`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-dD`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Print macro definitions in -E mode in addition to normal output`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-dependency-dot `</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Filename to write DOT-formatted header dependencies to`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-dependency-file `</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Filename (or -) to write dependency output to`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-dI`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Print include directives in -E mode in addition to normal output`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-dM`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Print macro definitions in -E mode instead of normal output`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-dsym-dir <dir>`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Directory to output dSYM's (if any) to`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-D <macro>`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`= Define <macro> to (or 1 if omitted)`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-emit-ast`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Emit Clang AST files for source inputs`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-emit-interface-stubs`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Generate Interface Stub Files.`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-emit-llvm`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Use the LLVM representation for assembler and object files`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-emit-merged-ifs`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Generate Interface Stub Files, emit merged text not binary.`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`–emit-static-lib`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Enable linker job to emit a static library.`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-enable-trivial-auto-var-init-zero-knowing-it-will-be-removed-from-clang`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Trivial automatic variable initialization to zero is only here for benchmarks, it'll eventually be removed, and I'm OK with that because I'm only using it to benchmark`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-E`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Only run the preprocessor`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-fAAPCSBitfieldLoad`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Follows the AAPCS standard that all volatile bit-field write generates at least one load. (ARM only).`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-faddrsig`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Emit an address-significance table`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-faligned-allocation`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Enable C++17 aligned allocation functions`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-fallow-editor-placeholders`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Treat editor placeholders as valid source code`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-fallow-fortran-gnu-ext`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Allow Fortran GNU extensions`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-fansi-escape-codes`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Use ANSI escape codes for diagnostics`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-fapple-kext`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Use Apple's kernel extensions ABI`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-fapple-link-rtlib`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Force linking the clang builtins runtime library`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-fapple-pragma-pack`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Enable Apple gcc-compatible #pragma pack handling`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-fapplication-extension`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Restrict code to those available for App Extensions`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-fbackslash`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Treat backslash as C-style escape character`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-fbasic-block-sections= `</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Place each function's basic blocks in unique sections (ELF Only) : all | labels | none | list=<file>`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-fblocks`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Enable the 'blocks' language feature`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-fborland-extensions`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Accept non-standard constructs supported by the Borland compiler`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-fbuild-session-file=<file>`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Use the last modification time of <file> as the build session timestamp`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-fbuild-session-timestamp=<time since Epoch in seconds>`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Time when the current build session started`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-fbuiltin-module-map`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Load the clang builtins module map file.`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-fcall-saved-x10`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Make the x10 register call-saved (AArch64 only)`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-fcall-saved-x11`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Make the x11 register call-saved (AArch64 only)`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-fcall-saved-x12`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Make the x12 register call-saved (AArch64 only)`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-fcall-saved-x13`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Make the x13 register call-saved (AArch64 only)`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-fcall-saved-x14`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Make the x14 register call-saved (AArch64 only)`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-fcall-saved-x15`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Make the x15 register call-saved (AArch64 only)`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-fcall-saved-x18`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Make the x18 register call-saved (AArch64 only)`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-fcall-saved-x8`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Make the x8 register call-saved (AArch64 only)`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-fcall-saved-x9`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Make the x9 register call-saved (AArch64 only)`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-fcf-protection= `</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Instrument control-flow architecture protection. Options: return, branch, full, none.`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-fcf-protection`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Enable cf-protection in 'full' mode`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-fchar8_t`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Enable C++ builtin type char8_t`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-fclang-abi-compat=<version>`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Attempt to match the ABI of Clang <version>`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-fcolor-diagnostics`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Enable colors in diagnostics`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-fcomment-block-commands=<arg>`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Treat each comma separated argument in <arg> as a documentation comment block command`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-fcommon`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Place uninitialized global variables in a common block`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-fcomplete-member-pointers`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Require member pointer base types to be complete if they would be significant under the Microsoft ABI`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-fconvergent-functions`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Assume functions may be convergent`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-fcoroutines-ts`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Enable support for the C++ Coroutines TS`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-fcoverage-mapping`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Generate coverage mapping to enable code coverage analysis`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-fcs-profile-generate=<directory>`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Generate instrumented code to collect context sensitive execution counts into <directory>/default.profraw (overridden by LLVM_PROFILE_FILE env var)`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-fcs-profile-generate`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Generate instrumented code to collect context sensitive execution counts into default.profraw (overridden by LLVM_PROFILE_FILE env var)`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-fcuda-approx-transcendentals`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Use approximate transcendental functions`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-fcuda-flush-denormals-to-zero`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Flush denormal floating point values to zero in CUDA device mode.`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-fcuda-short-ptr`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Use 32-bit pointers for accessing const/local/shared address spaces`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-fcxx-exceptions`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Enable C++ exceptions`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-fdata-sections`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Place each data in its own section`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-fdebug-compilation-dir `</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`The compilation directory to embed in the debug info.`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-fdebug-default-version= `</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Default DWARF version to use, if a -g option caused DWARF debug info to be produced`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-fdebug-info-for-profiling`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Emit extra debug info to make sample profile more accurate`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-fdebug-macro`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Emit macro debug information`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-fdebug-prefix-map= `</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`remap file source paths in debug info`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-fdebug-ranges-base-address`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Use DWARF base address selection entries in .debug_ranges`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-fdebug-types-section`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Place debug types in their own section (ELF Only)`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-fdeclspec`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Allow declspec as a keyword`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-fdelayed-template-parsing`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Parse templated function definitions at the end of the translation unit`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-fdelete-null-pointer-checks`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Treat usage of null pointers as undefined behavior (default)`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-fdiagnostics-absolute-paths`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Print absolute paths in diagnostics`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-fdiagnostics-hotness-threshold=<number>`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Prevent optimization remarks from being output if they do not have at least this profile count`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-fdiagnostics-parseable-fixits`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Print fix-its in machine parseable form`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-fdiagnostics-print-source-range-info`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Print source range spans in numeric form`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-fdiagnostics-show-hotness`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Enable profile hotness information in diagnostic line`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-fdiagnostics-show-note-include-stack`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Display include stacks for diagnostic notes`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-fdiagnostics-show-option`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Print option name with mappable diagnostics`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-fdiagnostics-show-template-tree`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Print a template comparison tree for differing templates`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-fdigraphs`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Enable alternative token representations '<:', ':>', '<', '%>', '%:', '%:%:' (default)`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-fdiscard-value-names`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Discard value names in LLVM IR`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-fdollars-in-identifiers`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Allow '$' in identifiers`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-fdouble-square-bracket-attributes`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Enable '[[]]' attributes in all C and C++ language modes`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-fdwarf-exceptions`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Use DWARF style exceptions`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-feliminate-unused-debug-types`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Do not emit debug info for defined but unused types`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-fembed-bitcode-marker`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Embed placeholder LLVM IR data as a marker`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-fembed-bitcode=<option>`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Embed LLVM bitcode (option: off, all, bitcode, marker)`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-fembed-bitcode`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Embed LLVM IR bitcode as data`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-femit-all-decls`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Emit all declarations, even if unused`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-femulated-tls`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Use emutls functions to access thread_local variables`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-fenable-matrix`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Enable matrix data type and related builtin functions`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-fexceptions`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Enable support for exception handling`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-fexperimental-new-constant-interpreter`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Enable the experimental new constant interpreter`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-fexperimental-new-pass-manager`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Enables an experimental new pass manager in LLVM.`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-fexperimental-relative-c++-abi-vtables`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Use the experimental C++ class ABI for classes with virtual tables`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-fexperimental-strict-floating-point`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Enables experimental strict floating point in LLVM.`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-ffast-math`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Allow aggressive, lossy floating-point optimizations`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-ffile-prefix-map= `</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`remap file source paths in debug info and predefined preprocessor macros`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-ffine-grained-bitfield-accesses`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Use separate accesses for consecutive bitfield runs with legal widths and alignments.`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-ffixed-form`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Enable fixed-form format for Fortran`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-ffixed-point`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Enable fixed point types`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-ffixed-r19`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Reserve register r19 (Hexagon only)`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-ffixed-r9`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Reserve the r9 register (ARM only)`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-ffixed-x10`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Reserve the x10 register (AArch64/RISC-V only)`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-ffixed-x11`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Reserve the x11 register (AArch64/RISC-V only)`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-ffixed-x12`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Reserve the x12 register (AArch64/RISC-V only)`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-ffixed-x13`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Reserve the x13 register (AArch64/RISC-V only)`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-ffixed-x14`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Reserve the x14 register (AArch64/RISC-V only)`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-ffixed-x15`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Reserve the x15 register (AArch64/RISC-V only)`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-ffixed-x16`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Reserve the x16 register (AArch64/RISC-V only)`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-ffixed-x17`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Reserve the x17 register (AArch64/RISC-V only)`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-ffixed-x18`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Reserve the x18 register (AArch64/RISC-V only)`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-ffixed-x19`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Reserve the x19 register (AArch64/RISC-V only)`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-ffixed-x1`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Reserve the x1 register (AArch64/RISC-V only)`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-ffixed-x20`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Reserve the x20 register (AArch64/RISC-V only)`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-ffixed-x21`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Reserve the x21 register (AArch64/RISC-V only)`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-ffixed-x22`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Reserve the x22 register (AArch64/RISC-V only)`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-ffixed-x23`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Reserve the x23 register (AArch64/RISC-V only)`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-ffixed-x24`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Reserve the x24 register (AArch64/RISC-V only)`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-ffixed-x25`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Reserve the x25 register (AArch64/RISC-V only)`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-ffixed-x26`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Reserve the x26 register (AArch64/RISC-V only)`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-ffixed-x27`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Reserve the x27 register (AArch64/RISC-V only)`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-ffixed-x28`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Reserve the x28 register (AArch64/RISC-V only)`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-ffixed-x29`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Reserve the x29 register (AArch64/RISC-V only)`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-ffixed-x2`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Reserve the x2 register (AArch64/RISC-V only)`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-ffixed-x30`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Reserve the x30 register (AArch64/RISC-V only)`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-ffixed-x31`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Reserve the x31 register (AArch64/RISC-V only)`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-ffixed-x3`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Reserve the x3 register (AArch64/RISC-V only)`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-ffixed-x4`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Reserve the x4 register (AArch64/RISC-V only)`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-ffixed-x5`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Reserve the x5 register (AArch64/RISC-V only)`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-ffixed-x6`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Reserve the x6 register (AArch64/RISC-V only)`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-ffixed-x7`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Reserve the x7 register (AArch64/RISC-V only)`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-ffixed-x8`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Reserve the x8 register (AArch64/RISC-V only)`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-ffixed-x9`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Reserve the x9 register (AArch64/RISC-V only)`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-fforce-dwarf-frame`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Always emit a debug frame section`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-fforce-emit-vtables`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Emits more virtual tables to improve devirtualization`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-fforce-enable-int128`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Enable support for int128_t type`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-ffp-contract= `</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Form fused FP ops (e.g. FMAs): fast (everywhere) | on (according to FP_CONTRACT pragma) | off (never fuse). Default is 'fast' for CUDA/HIP and 'on' otherwise.`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-ffp-exception-behavior= `</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Specifies the exception behavior of floating-point operations.`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-ffp-model= `</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Controls the semantics of floating-point calculations.`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-ffree-form`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Enable free-form format for Fortran`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-ffreestanding`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Assert that the compilation takes place in a freestanding environment`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-ffunc-args-alias`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Function argument may alias (equivalent to ansi alias)`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-ffunction-sections`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Place each function in its own section`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-fglobal-isel`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Enables the global instruction selector`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-fgnu-keywords`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Allow GNU-extension keywords regardless of language standard`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-fgnu-runtime`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Generate output compatible with the standard GNU Objective-C runtime`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-fgnu89-inline`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Use the gnu89 inline semantics`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-fgnuc-version= `</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Sets various macros to claim compatibility with the given GCC version (default is 4.2.1)`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-fgpu-allow-device-init`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Allow device side init function in HIP`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-fgpu-rdc`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Generate relocatable device code, also known as separate compilation mode`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-fhip-new-launch-api`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Use new kernel launching API for HIP`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-fignore-exceptions`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Enable support for ignoring exception handling constructs`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-fimplicit-module-maps`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Implicitly search the file system for module map files.`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-finline-functions`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Inline suitable functions`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-finline-hint-functions`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Inline functions which are (explicitly or implicitly) marked inline`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-finstrument-function-entry-bare`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Instrument function entry only, after inlining, without arguments to the instrumentation call`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-finstrument-functions-after-inlining`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Like -finstrument-functions, but insert the calls after inlining`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-finstrument-functions`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Generate calls to instrument function entry and exit`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-fintegrated-as`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Enable the integrated assembler`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-fintegrated-cc1`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Run cc1 in-process`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-fjump-tables`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Use jump tables for lowering switches`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-fkeep-static-consts`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Keep static const variables if unused`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-flax-vector-conversions= `</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Enable implicit vector bit-casts`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-flto-jobs= `</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Controls the backend parallelism of -flto=thin (default of 0 means the number of threads will be derived from the number of CPUs detected)`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-flto= `</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Set LTO mode to either 'full' or 'thin'`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-flto`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Enable LTO in 'full' mode`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-fmacro-prefix-map= `</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`remap file source paths in predefined preprocessor macros`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-fmath-errno`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Require math functions to indicate errors by setting errno`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-fmax-tokens= `</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Max total number of preprocessed tokens for -Wmax-tokens.`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-fmax-type-align= `</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Specify the maximum alignment to enforce on pointers lacking an explicit alignment`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-fmemory-profile`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Enable heap memory profiling`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-fmerge-all-constants`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Allow merging of constants`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-fmessage-length= `</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Format message diagnostics so that they fit within N columns`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-fmodule-file=[<name>=]<file>`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Specify the mapping of module name to precompiled module file, or load a module file if name is omitted.`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-fmodule-map-file=<file>`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Load this module map file`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-fmodule-name=<name>`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Specify the name of the module to build`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-fmodules-cache-path=<directory>`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Specify the module cache path`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-fmodules-decluse`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Require declaration of modules used within a module`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-fmodules-disable-diagnostic-validation`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Disable validation of the diagnostic options when loading the module`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-fmodules-ignore-macro= `</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Ignore the definition of the given macro when building and loading modules`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-fmodules-prune-after=<seconds>`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Specify the interval (in seconds) after which a module file will be considered unused`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-fmodules-prune-interval=<seconds>`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Specify the interval (in seconds) between attempts to prune the module cache`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-fmodules-search-all`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Search even non-imported modules to resolve references`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-fmodules-strict-decluse`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Like -fmodules-decluse but requires all headers to be in modules`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-fmodules-ts`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Enable support for the C++ Modules TS`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-fmodules-user-build-path <directory>`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Specify the module user build path`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-fmodules-validate-input-files-content`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Validate PCM input files based on content if mtime differs`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-fmodules-validate-once-per-build-session`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Don't verify input files for the modules if the module has been successfully validated or loaded during this build session`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-fmodules-validate-system-headers`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Validate the system headers that a module depends on when loading the module`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-fmodules`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Enable the 'modules' language feature`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-fms-compatibility-version= `</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Dot-separated value representing the Microsoft compiler version number to report in _MSC_VER (0 = don't define it (default))`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-fms-compatibility`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Enable full Microsoft Visual C++ compatibility`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-fms-extensions`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Accept some non-standard constructs supported by the Microsoft compiler`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-fmsc-version= `</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Microsoft compiler version number to report in _MSC_VER (0 = don't define it (default))`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-fnew-alignment=<align>`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Specifies the largest alignment guaranteed by '::operator new(size_t)'`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-fno-addrsig`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Don't emit an address-significance table`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-fno-allow-fortran-gnu-ext`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Allow Fortran GNU extensions`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-fno-assume-sane-operator-new`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Don't assume that C++'s global operator new can't alias any pointer`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-fno-autolink`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Disable generation of linker directives for automatic library linking`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-fno-backslash`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Treat backslash like any other character in character strings`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-fno-builtin- `</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Disable implicit builtin knowledge of a specific function`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-fno-builtin`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Disable implicit builtin knowledge of functions`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-fno-c++-static-destructors`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Disable C++ static destructor registration`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-fno-char8_t`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Disable C++ builtin type char8_t`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-fno-color-diagnostics`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Disable colors in diagnostics`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-fno-common`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Compile common globals like normal definitions`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-fno-complete-member-pointers`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Do not require member pointer base types to be complete if they would be significant under the Microsoft ABI`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-fno-constant-cfstrings`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Disable creation of CodeFoundation-type constant strings`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-fno-coverage-mapping`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Disable code coverage analysis`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-fno-crash-diagnostics`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Disable auto-generation of preprocessed source files and a script for reproduction during a clang crash`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-fno-cuda-approx-transcendentals`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Don't use approximate transcendental functions`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-fno-debug-macro`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Do not emit macro debug information`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-fno-declspec`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Disallow __declspec as a keyword`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-fno-delayed-template-parsing`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Disable delayed template parsing`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-fno-delete-null-pointer-checks`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Do not treat usage of null pointers as undefined behavior`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-fno-diagnostics-fixit-info`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Do not include fixit information in diagnostics`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-fno-digraphs`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Disallow alternative token representations '<:', ':>', '<', '%>', '%:', '%:%:'`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-fno-discard-value-names`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Do not discard value names in LLVM IR`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-fno-dollars-in-identifiers`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Disallow '$' in identifiers`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-fno-double-square-bracket-attributes`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Disable '[[]]' attributes in all C and C++ language modes`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-fno-elide-constructors`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Disable C++ copy constructor elision`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-fno-elide-type`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Do not elide types when printing diagnostics`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-fno-eliminate-unused-debug-types`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Emit debug info for defined but unused types`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-fno-exceptions`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Disable support for exception handling`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-fno-experimental-new-pass-manager`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Disables an experimental new pass manager in LLVM.`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-fno-experimental-relative-c++-abi-vtables`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Do not use the experimental C++ class ABI for classes with virtual tables`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-fno-fine-grained-bitfield-accesses`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Use large-integer access for consecutive bitfield runs.`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-fno-fixed-form`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Disable fixed-form format for Fortran`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-fno-fixed-point`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Disable fixed point types`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-fno-force-enable-int128`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Disable support for int128_t type`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-fno-fortran-main`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Don't link in Fortran main`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-fno-free-form`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Disable free-form format for Fortran`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-fno-func-args-alias`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Function argument may alias (equivalent to ansi alias)`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-fno-global-isel`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Disables the global instruction selector`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-fno-gnu-inline-asm`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Disable GNU style inline asm`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-fno-gpu-allow-device-init`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Don't allow device side init function in HIP`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-fno-hip-new-launch-api`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Don't use new kernel launching API for HIP`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-fno-integrated-as`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Disable the integrated assembler`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-fno-integrated-cc1`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Spawn a separate process for each cc1`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-fno-jump-tables`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Do not use jump tables for lowering switches`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-fno-keep-static-consts`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Don't keep static const variables if unused`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-fno-lto`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Disable LTO mode (default)`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-fno-memory-profile`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Disable heap memory profiling`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-fno-merge-all-constants`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Disallow merging of constants`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-fno-no-access-control`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Disable C++ access control`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-fno-objc-infer-related-result-type`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`do not infer Objective-C related result type based on method family`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-fno-operator-names`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Do not treat C++ operator name keywords as synonyms for operators`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-fno-pch-codegen`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Do not generate code for uses of this PCH that assumes an explicit object file will be built for the PCH`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-fno-pch-debuginfo`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Do not generate debug info for types in an object file built from this PCH and do not generate them elsewhere`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-fno-plt`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Use GOT indirection instead of PLT to make external function calls (x86 only)`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-fno-preserve-as-comments`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Do not preserve comments in inline assembly`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-fno-profile-generate`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Disable generation of profile instrumentation.`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-fno-profile-instr-generate`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Disable generation of profile instrumentation.`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-fno-profile-instr-use`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Disable using instrumentation data for profile-guided optimization`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-fno-register-global-dtors-with-atexit`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Don't use atexit or __cxa_atexit to register global destructors`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-fno-rtlib-add-rpath`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Do not add -rpath with architecture-specific resource directory to the linker flags`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-fno-rtti-data`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Disable generation of RTTI data`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-fno-rtti`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Disable generation of rtti information`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-fno-sanitize-address-poison-custom-array-cookie`</td> <td class="markdownTableBodyNone"> Supported on Host only</td> <td class="markdownTableBodyNone">`Disable poisoning array cookies when using custom operator new[] in AddressSanitizer`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-fno-sanitize-address-use-after-scope`</td> <td class="markdownTableBodyNone"> Supported on Host only</td> <td class="markdownTableBodyNone">`Disable use-after-scope detection in AddressSanitizer`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-fno-sanitize-address-use-odr-indicator`</td> <td class="markdownTableBodyNone"> Supported on Host only</td> <td class="markdownTableBodyNone">`Disable ODR indicator globals`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-fno-sanitize-blacklist`</td> <td class="markdownTableBodyNone"> Supported on Host only</td> <td class="markdownTableBodyNone">`Don't use blacklist file for sanitizers`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-fno-sanitize-cfi-canonical-jump-tables`</td> <td class="markdownTableBodyNone"> Supported on Host only</td> <td class="markdownTableBodyNone">`Do not make the jump table addresses canonical in the symbol table`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-fno-sanitize-cfi-cross-dso`</td> <td class="markdownTableBodyNone"> Supported on Host only</td> <td class="markdownTableBodyNone">`Disable control flow integrity (CFI) checks for cross-DSO calls.`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-fno-sanitize-coverage= `</td> <td class="markdownTableBodyNone"> Supported on Host only</td> <td class="markdownTableBodyNone">`Disable specified features of coverage instrumentation for Sanitizers`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-fno-sanitize-memory-track-origins`</td> <td class="markdownTableBodyNone"> Supported on Host only</td> <td class="markdownTableBodyNone">`Disable origins tracking in MemorySanitizer`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-fno-sanitize-memory-use-after-dtor`</td> <td class="markdownTableBodyNone"> Supported on Host only</td> <td class="markdownTableBodyNone">`Disable use-after-destroy detection in MemorySanitizer`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-fno-sanitize-recover= `</td> <td class="markdownTableBodyNone"> Supported on Host only</td> <td class="markdownTableBodyNone">`Disable recovery for specified sanitizers`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-fno-sanitize-stats`</td> <td class="markdownTableBodyNone"> Supported on Host only</td> <td class="markdownTableBodyNone">`Disable sanitizer statistics gathering.`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-fno-sanitize-thread-atomics`</td> <td class="markdownTableBodyNone"> Supported on Host only</td> <td class="markdownTableBodyNone">`Disable atomic operations instrumentation in ThreadSanitizer`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-fno-sanitize-thread-func-entry-exit`</td> <td class="markdownTableBodyNone"> Supported on Host only</td> <td class="markdownTableBodyNone">`Disable function entry/exit instrumentation in ThreadSanitizer`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-fno-sanitize-thread-memory-access`</td> <td class="markdownTableBodyNone"> Supported on Host only</td> <td class="markdownTableBodyNone">`Disable memory access instrumentation in ThreadSanitizer`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-fno-sanitize-trap= `</td> <td class="markdownTableBodyNone"> Supported on Host only</td> <td class="markdownTableBodyNone">`Disable trapping for specified sanitizers`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-fno-sanitize-trap`</td> <td class="markdownTableBodyNone"> Supported on Host only</td> <td class="markdownTableBodyNone">`Disable trapping for all sanitizers`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-fno-short-wchar`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Force wchar_t to be an unsigned int`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-fno-show-column`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Do not include column number on diagnostics`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-fno-show-source-location`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Do not include source location information with diagnostics`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-fno-signed-char`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`char is unsigned`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-fno-signed-zeros`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Allow optimizations that ignore the sign of floating point zeros`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-fno-spell-checking`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Disable spell-checking`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-fno-split-machine-functions`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Disable late function splitting using profile information (x86 ELF)`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-fno-stack-clash-protection`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Disable stack clash protection`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-fno-stack-protector`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Disable the use of stack protectors`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-fno-standalone-debug`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Limit debug information produced to reduce size of debug binary`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-fno-strict-float-cast-overflow`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Relax language rules and try to match the behavior of the target's native float-to-int conversion instructions`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-fno-strict-return`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Don't treat control flow paths that fall off the end of a non-void function as unreachable`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-fno-sycl`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Disable SYCL kernels compilation for device`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-fno-temp-file`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Directly create compilation output files. This may lead to incorrect incremental builds if the compiler crashes`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-fno-threadsafe-statics`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Do not emit code to make initialization of local statics thread safe`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-fno-trigraphs`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Do not process trigraph sequences`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-fno-unique-section-names`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Don't use unique names for text and data sections`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-fno-unroll-loops`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Turn off loop unroller`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-fno-use-cxa-atexit`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Don't use __cxa_atexit for calling destructors`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-fno-use-flang-math-libs`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Use Flang internal runtime math library instead of LLVM math intrinsics.`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-fno-use-init-array`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Use .ctors/.dtors instead of .init_array/.fini_array`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-fno-visibility-inlines-hidden-static-local-var`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Disables -fvisibility-inlines-hidden-static-local-var (this is the default on non-darwin targets)`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-fno-xray-function-index`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Omit function index section at the expense of single-function patching performance`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-fno-zero-initialized-in-bss`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Don't place zero initialized data in BSS`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-fobjc-arc-exceptions`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Use EH-safe code when synthesizing retains and releases in -fobjc-arc`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-fobjc-arc`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Synthesize retain and release calls for Objective-C pointers`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-fobjc-exceptions`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Enable Objective-C exceptions`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-fobjc-runtime= `</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Specify the target Objective-C runtime kind and version`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-fobjc-weak`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Enable ARC-style weak references in Objective-C`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-fopenmp-simd`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Emit OpenMP code only for SIMD-based constructs.`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-fopenmp-targets= `</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Specify comma-separated list of triples OpenMP offloading targets to be supported`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-fopenmp`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Parse OpenMP pragmas and generate parallel code.`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-foptimization-record-file=<file>`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Specify the output name of the file containing the optimization remarks. Implies -fsave-optimization-record. On Darwin platforms, this cannot be used with multiple -arch <arch> options.`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-foptimization-record-passes=<regex>`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Only include passes which match a specified regular expression in the generated optimization record (by default, include all passes)`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-forder-file-instrumentation`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Generate instrumented code to collect order file into default.profraw file (overridden by '=' form of option or LLVM_PROFILE_FILE env var)`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-fpack-struct= `</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Specify the default maximum struct packing alignment`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-fpascal-strings`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Recognize and construct Pascal-style string literals`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-fpass-plugin=<dsopath>`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Load pass plugin from a dynamic shared object file (only with new pass manager).`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-fpatchable-function-entry=<N,M>`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Generate M NOPs before function entry and N-M NOPs after function entry`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-fpcc-struct-return`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Override the default ABI to return all structs on the stack`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-fpch-codegen`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Generate code for uses of this PCH that assumes an explicit object file will be built for the PCH`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-fpch-debuginfo`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Generate debug info for types in an object file built from this PCH and do not generate them elsewhere`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-fpch-instantiate-templates`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Instantiate templates already while building a PCH`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-fpch-validate-input-files-content`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Validate PCH input files based on content if mtime differs`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-fplugin=<dsopath>`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Load the named plugin (dynamic shared object)`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-fprebuilt-module-path=<directory>`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Specify the prebuilt module path`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-fprofile-exclude-files= `</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Instrument only functions from files where names don't match all the regexes separated by a semi-colon`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-fprofile-filter-files= `</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Instrument only functions from files where names match any regex separated by a semi-colon`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-fprofile-generate=<directory>`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Generate instrumented code to collect execution counts into <directory>/default.profraw (overridden by LLVM_PROFILE_FILE env var)`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-fprofile-generate`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Generate instrumented code to collect execution counts into default.profraw (overridden by LLVM_PROFILE_FILE env var)`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-fprofile-instr-generate=<file>`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Generate instrumented code to collect execution counts into <file> (overridden by LLVM_PROFILE_FILE env var)`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-fprofile-instr-generate`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Generate instrumented code to collect execution counts into default.profraw file (overridden by '=' form of option or LLVM_PROFILE_FILE env var)`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-fprofile-instr-use= `</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Use instrumentation data for profile-guided optimization`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-fprofile-remapping-file=<file>`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Use the remappings described in <file> to match the profile data against names in the program`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-fprofile-sample-accurate`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Specifies that the sample profile is accurate`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-fprofile-sample-use= `</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Enable sample-based profile guided optimizations`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-fprofile-use=<pathname>`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Use instrumentation data for profile-guided optimization. If pathname is a directory, it reads from <pathname>/default.profdata. Otherwise, it reads from file <pathname>.`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-freciprocal-math`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Allow division operations to be reassociated`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-freg-struct-return`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Override the default ABI to return small structs in registers`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-fregister-global-dtors-with-atexit`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Use atexit or __cxa_atexit to register global destructors`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-frelaxed-template-template-args`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Enable C++17 relaxed template template argument matching`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-freroll-loops`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Turn on loop reroller`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-fropi`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Generate read-only position independent code (ARM only)`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-frtlib-add-rpath`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Add -rpath with architecture-specific resource directory to the linker flags`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-frwpi`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Generate read-write position independent code (ARM only)`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-fsanitize-address-field-padding= `</td> <td class="markdownTableBodyNone"> Supported on Host only</td> <td class="markdownTableBodyNone">`Level of field padding for AddressSanitizer`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-fsanitize-address-globals-dead-stripping`</td> <td class="markdownTableBodyNone"> Supported on Host only</td> <td class="markdownTableBodyNone">`Enable linker dead stripping of globals in AddressSanitizer`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-fsanitize-address-poison-custom-array-cookie`</td> <td class="markdownTableBodyNone"> Supported on Host only</td> <td class="markdownTableBodyNone">`Enable poisoning array cookies when using custom operator new[] in AddressSanitizer`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-fsanitize-address-use-after-scope`</td> <td class="markdownTableBodyNone"> Supported on Host only</td> <td class="markdownTableBodyNone">`Enable use-after-scope detection in AddressSanitizer`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-fsanitize-address-use-odr-indicator`</td> <td class="markdownTableBodyNone"> Supported on Host only</td> <td class="markdownTableBodyNone">`Enable ODR indicator globals to avoid false ODR violation reports in partially sanitized programs at the cost of an increase in binary size`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-fsanitize-blacklist= `</td> <td class="markdownTableBodyNone"> Supported on Host only</td> <td class="markdownTableBodyNone">`Path to blacklist file for sanitizers`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-fsanitize-cfi-canonical-jump-tables`</td> <td class="markdownTableBodyNone"> Supported on Host only</td> <td class="markdownTableBodyNone">`Make the jump table addresses canonical in the symbol table`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-fsanitize-cfi-cross-dso`</td> <td class="markdownTableBodyNone"> Supported on Host only</td> <td class="markdownTableBodyNone">`Enable control flow integrity (CFI) checks for cross-DSO calls.`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-fsanitize-cfi-icall-generalize-pointers`</td> <td class="markdownTableBodyNone"> Supported on Host only</td> <td class="markdownTableBodyNone">`Generalize pointers in CFI indirect call type signature checks`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-fsanitize-coverage-allowlist= `</td> <td class="markdownTableBodyNone"> Supported on Host only</td> <td class="markdownTableBodyNone">`Restrict sanitizer coverage instrumentation exclusively to modules and functions that match the provided special case list, except the blocked ones`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-fsanitize-coverage-blacklist= `</td> <td class="markdownTableBodyNone"> Supported on Host only</td> <td class="markdownTableBodyNone">`Deprecated, use -fsanitize-coverage-blocklist= instead`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-fsanitize-coverage-blocklist= `</td> <td class="markdownTableBodyNone"> Supported on Host only</td> <td class="markdownTableBodyNone">`Disable sanitizer coverage instrumentation for modules and functions that match the provided special case list, even the allowed ones`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-fsanitize-coverage-whitelist= `</td> <td class="markdownTableBodyNone"> Supported on Host only</td> <td class="markdownTableBodyNone">`Deprecated, use -fsanitize-coverage-allowlist= instead`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-fsanitize-coverage= `</td> <td class="markdownTableBodyNone"> Supported on Host only</td> <td class="markdownTableBodyNone">`Specify the type of coverage instrumentation for Sanitizers`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-fsanitize-hwaddress-abi= `</td> <td class="markdownTableBodyNone"> Supported on Host only</td> <td class="markdownTableBodyNone">`Select the HWAddressSanitizer ABI to target (interceptor or platform, default interceptor). This option is currently unused.`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-fsanitize-memory-track-origins= `</td> <td class="markdownTableBodyNone"> Supported on Host only</td> <td class="markdownTableBodyNone">`Enable origins tracking in MemorySanitizer`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-fsanitize-memory-track-origins`</td> <td class="markdownTableBodyNone"> Supported on Host only</td> <td class="markdownTableBodyNone">`Enable origins tracking in MemorySanitizer`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-fsanitize-memory-use-after-dtor`</td> <td class="markdownTableBodyNone"> Supported on Host only</td> <td class="markdownTableBodyNone">`Enable use-after-destroy detection in MemorySanitizer`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-fsanitize-recover= `</td> <td class="markdownTableBodyNone"> Supported on Host only</td> <td class="markdownTableBodyNone">`Enable recovery for specified sanitizers`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-fsanitize-stats`</td> <td class="markdownTableBodyNone"> Supported on Host only</td> <td class="markdownTableBodyNone">`Enable sanitizer statistics gathering.`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-fsanitize-system-blacklist= `</td> <td class="markdownTableBodyNone"> Supported on Host only</td> <td class="markdownTableBodyNone">`Path to system blacklist file for sanitizers`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-fsanitize-thread-atomics`</td> <td class="markdownTableBodyNone"> Supported on Host only</td> <td class="markdownTableBodyNone">`Enable atomic operations instrumentation in ThreadSanitizer (default)`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-fsanitize-thread-func-entry-exit`</td> <td class="markdownTableBodyNone"> Supported on Host only</td> <td class="markdownTableBodyNone">`Enable function entry/exit instrumentation in ThreadSanitizer (default)`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-fsanitize-thread-memory-access`</td> <td class="markdownTableBodyNone"> Supported on Host only</td> <td class="markdownTableBodyNone">`Enable memory access instrumentation in ThreadSanitizer (default)`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-fsanitize-trap= `</td> <td class="markdownTableBodyNone"> Supported on Host only</td> <td class="markdownTableBodyNone">`Enable trapping for specified sanitizers`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-fsanitize-trap`</td> <td class="markdownTableBodyNone"> Supported on Host only</td> <td class="markdownTableBodyNone">`Enable trapping for all sanitizers`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-fsanitize-undefined-strip-path-components=<number>`</td> <td class="markdownTableBodyNone"> Supported on Host only</td> <td class="markdownTableBodyNone">`Strip (or keep only, if negative) a given number of path components when emitting check metadata.`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-fsanitize=<check>`</td> <td class="markdownTableBodyNone"> Supported on Host only</td> <td class="markdownTableBodyNone">`Turn on runtime checks for various forms of undefined or suspicious behavior. See user manual for available checks`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-fsave-optimization-record=<format>`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Generate an optimization record file in a specific format`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-fsave-optimization-record`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Generate a YAML optimization record file`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-fseh-exceptions`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Use SEH style exceptions`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-fshort-enums`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Allocate to an enum type only as many bytes as it needs for the declared range of possible values`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-fshort-wchar`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Force wchar_t to be a short unsigned int`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-fshow-overloads= `</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Which overload candidates to show when overload resolution fails: best|all; defaults to all`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-fsigned-char`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`char is signed`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-fsized-deallocation`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Enable C++14 sized global deallocation functions`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-fsjlj-exceptions`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Use SjLj style exceptions`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-fslp-vectorize`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Enable the superword-level parallelism vectorization passes`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-fsplit-dwarf-inlining`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Provide minimal debug info in the object/executable to facilitate online symbolication/stack traces in the absence of .dwo/.dwp files when using Split DWARF`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-fsplit-lto-unit`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Enables splitting of the LTO unit`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-fsplit-machine-functions`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Enable late function splitting using profile information (x86 ELF)`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-fstack-clash-protection`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Enable stack clash protection`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-fstack-protector-all`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Enable stack protectors for all functions`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-fstack-protector-strong`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Enable stack protectors for some functions vulnerable to stack smashing. Compared to -fstack-protector, this uses a stronger heuristic that includes functions containing arrays of any size (and any type), as well as any calls to alloca or the taking of an address from a local variable`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-fstack-protector`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Enable stack protectors for some functions vulnerable to stack smashing. This uses a loose heuristic which considers functions vulnerable if they contain a char (or 8bit integer) array or constant sized calls to alloca , which are of greater size than ssp-buffer-size (default: 8 bytes). All variable sized calls to alloca are considered vulnerable. A function with a stack protector has a guard value added to the stack frame that is checked on function exit. The guard value must be positioned in the stack frame such that a buffer overflow from a vulnerable variable will overwrite the guard value before overwriting the function's return address. The reference stack guard value is stored in a global variable.`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-fstack-size-section`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Emit section containing metadata on function stack sizes`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-fstandalone-debug`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Emit full debug info for all types used by the program`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-fstrict-enums`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Enable optimizations based on the strict definition of an enum's value range`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-fstrict-float-cast-overflow`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Assume that overflowing float-to-int casts are undefined (default)`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-fstrict-vtable-pointers`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Enable optimizations based on the strict rules for overwriting polymorphic C++ objects`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-fsycl`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Enable SYCL kernels compilation for device`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-fsystem-module`</td> <td class="markdownTableBodyNone"> u</td> <td class="markdownTableBodyNone">`Build this module as a system module. Only used with -emit-module`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-fthin-link-bitcode= `</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Write minimized bitcode to <file> for the ThinLTO thin link only`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-fthinlto-index= `</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Perform ThinLTO importing using provided function summary index`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-ftime-trace-granularity= `</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Minimum time granularity (in microseconds) traced by time profiler`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-ftime-trace`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Turn on time profiler. Generates JSON file based on output filename.`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-ftrap-function= `</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Issue call to specified function rather than a trap instruction`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-ftrapv-handler=<function name>`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Specify the function to be called on overflow`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-ftrapv`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Trap on integer overflow`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-ftrigraphs`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Process trigraph sequences`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-ftrivial-auto-var-init-stop-after= `</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Stop initializing trivial automatic stack variables after the specified number of instances`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-ftrivial-auto-var-init= `</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Initialize trivial automatic stack variables: uninitialized (default) | pattern`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-funique-basic-block-section-names`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Use unique names for basic block sections (ELF Only)`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-funique-internal-linkage-names`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Uniqueify Internal Linkage Symbol Names by appending the MD5 hash of the module path`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-funroll-loops`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Turn on loop unroller`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-fuse-flang-math-libs`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Use Flang internal runtime math library instead of LLVM math intrinsics.`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-fuse-line-directives`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Use #line in preprocessed output`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-fvalidate-ast-input-files-content`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Compute and store the hash of input files used to build an AST. Files with mismatching mtime's are considered valid if both contents is identical`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-fveclib= `</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Use the given vector functions library`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-fvectorize`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Enable the loop vectorization passes`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-fverbose-asm`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Generate verbose assembly output`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-fvirtual-function-elimination`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Enables dead virtual function elimination optimization. Requires -flto=full`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-fvisibility-global-new-delete-hidden`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Give global C++ operator new and delete declarations hidden visibility`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-fvisibility-inlines-hidden-static-local-var`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`When -fvisibility-inlines-hidden is enabled, static variables in inline C++ member functions will also be given hidden visibility by default`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-fvisibility-inlines-hidden`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Give inline C++ member functions hidden visibility by default`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-fvisibility-ms-compat`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Give global types 'default' visibility and global functions and variables 'hidden' visibility by default`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-fvisibility= `</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Set the default symbol visibility for all global declarations`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-fwasm-exceptions`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Use WebAssembly style exceptions`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-fwhole-program-vtables`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Enables whole-program vtable optimization. Requires -flto`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-fwrapv`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Treat signed integer overflow as two's complement`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-fwritable-strings`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Store string literals as writable data`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-fxray-always-emit-customevents`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Always emit __xray_customevent(...) calls even if the containing function is not always instrumented`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-fxray-always-emit-typedevents`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Always emit __xray_typedevent(...) calls even if the containing function is not always instrumented`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-fxray-always-instrument= `</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`DEPRECATED: Filename defining the whitelist for imbuing the 'always instrument' XRay attribute.`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-fxray-attr-list= `</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Filename defining the list of functions/types for imbuing XRay attributes.`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-fxray-ignore-loops`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Don't instrument functions with loops unless they also meet the minimum function size`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-fxray-instruction-threshold= `</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Sets the minimum function size to instrument with XRay`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-fxray-instrumentation-bundle= `</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Select which XRay instrumentation points to emit. Options: all, none, function-entry, function-exit, function, custom. Default is 'all'. 'function' includes both 'function-entry' and 'function-exit'.`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-fxray-instrument`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Generate XRay instrumentation sleds on function entry and exit`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-fxray-link-deps`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Tells clang to add the link dependencies for XRay.`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-fxray-modes= `</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`List of modes to link in by default into XRay instrumented binaries.`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-fxray-never-instrument= `</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`DEPRECATED: Filename defining the whitelist for imbuing the 'never instrument' XRay attribute.`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-fzvector`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Enable System z vector language extension`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-F `</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Add directory to framework include search path`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`–gcc-toolchain= `</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Use the gcc toolchain at the given directory`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-gcodeview-ghash`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Emit type record hashes in a .debug$H section`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-gcodeview`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Generate CodeView debug information`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-gdwarf-2`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Generate source-level debug information with dwarf version 2`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-gdwarf-3`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Generate source-level debug information with dwarf version 3`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-gdwarf-4`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Generate source-level debug information with dwarf version 4`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-gdwarf-5`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Generate source-level debug information with dwarf version 5`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-gdwarf`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Generate source-level debug information with the default dwarf version`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-gembed-source`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Embed source text in DWARF debug sections`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-gline-directives-only`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Emit debug line info directives only`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-gline-tables-only`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Emit debug line number tables only`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-gmodules`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Generate debug info with external references to clang modules or precompiled headers`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-gno-embed-source`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Restore the default behavior of not embedding source text in DWARF debug sections`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-gno-inline-line-tables`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Don't emit inline line tables`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`–gpu-max-threads-per-block= `</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Default max threads per block for kernel launch bounds for HIP`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-gsplit-dwarf= `</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Set DWARF fission mode to either 'split' or 'single'`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-gz= `</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`DWARF debug sections compression type`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-gz`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`DWARF debug sections compression type`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-G <size>`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Put objects of at most <size> bytes into small data section (MIPS / Hexagon)`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-g`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Generate source-level debug information`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`–help-hidden`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Display help for hidden options`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-help`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Display available options`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`–hip-device-lib= `</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`HIP device library`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`–hip-link`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Link clang-offload-bundler bundles for HIP`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`–hip-version= `</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`HIP version in the format of major.minor.patch<tt></td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">-H`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Show header includes and nesting depth`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-I-`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Restrict all prior -I flags to double-quoted inclusion and remove current directory from include path`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-ibuiltininc`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Enable builtin #include directories even when -nostdinc is used before or after -ibuiltininc. Using -nobuiltininc after the option disables it`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-idirafter `</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Add directory to AFTER include search path`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-iframeworkwithsysroot <directory>`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Add directory to SYSTEM framework search path, absolute paths are relative to -isysroot`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-iframework `</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Add directory to SYSTEM framework search path`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-imacros <file>`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Include macros from file before parsing`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-include-pch <file>`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Include precompiled header file`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-include <file>`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Include file before parsing`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-index-header-map`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Make the next included directory (-I or -F) an indexer header map`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-iprefix <dir>`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Set the -iwithprefix/-iwithprefixbefore prefix`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-iquote <directory>`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Add directory to QUOTE include search path`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-isysroot <dir>`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Set the system root directory (usually /)`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-isystem-after <directory>`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Add directory to end of the SYSTEM include search path`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-isystem <directory>`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Add directory to SYSTEM include search path`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-ivfsoverlay `</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Overlay the virtual filesystem described by file over the real file system`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-iwithprefixbefore <dir>`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Set directory to include search path with prefix`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-iwithprefix <dir>`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Set directory to SYSTEM include search path with prefix`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-iwithsysroot <directory>`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Add directory to SYSTEM include search path, absolute paths are relative to -isysroot`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-I <dir>`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Add directory to include search path. If there are multiple -I options, these directories are searched in the order they are given before the standard system directories are searched. If the same directory is in the SYSTEM include search paths, for example if also specified with -isystem, the -I option will be ignored`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`–libomptarget-nvptx-path= `</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Path to libomptarget-nvptx libraries`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-L <dir>`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Add directory to library search path`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-mabicalls`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Enable SVR4-style position-independent code (Mips only)`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-maix-struct-return`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Return all structs in memory (PPC32 only)`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-malign-branch-boundary= `</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Specify the boundary's size to align branches`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-malign-branch= `</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Specify types of branches to align`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-malign-double`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Align doubles to two words in structs (x86 only)`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-Mallocatable= `</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Select semantics for assignments to allocatables (F03 or F95)`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-mbackchain`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Link stack frames through backchain on System Z`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-mbranch-protection= `</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Enforce targets of indirect branches and function returns`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-mbranches-within-32B-boundaries`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Align selected branches (fused, jcc, jmp) within 32-byte boundary`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-mcmodel=medany`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Equivalent to -mcmodel=medium, compatible with RISC-V gcc.`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-mcmodel=medlow`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Equivalent to -mcmodel=small, compatible with RISC-V gcc.`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-mcmse`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Allow use of CMSE (Armv8-M Security Extensions)`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-mcode-object-v3`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Legacy option to specify code object ABI V2 (-mnocode-object-v3) or V3 (-mcode-object-v3) (AMDGPU only)`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-mcode-object-version=<version>`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Specify code object ABI version. Defaults to 4. (AMDGPU only)`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-mcrc`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Allow use of CRC instructions (ARM/Mips only)`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-mcumode`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Specify CU (-mcumode) or WGP (-mno-cumode) wavefront execution mode (AMDGPU only)`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-mdouble= `</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Force double to be 32 bits or 64 bits`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-MD`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Write a depfile containing user and system headers`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-meabi `</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Set EABI type, e.g. 4, 5 or gnu (default depends on triple)`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-membedded-data`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Place constants in the .rodata section instead of the .sdata section even if they meet the -G <size> threshold (MIPS)`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-menable-experimental-extensions`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Enable use of experimental RISC-V extensions.`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-mexec-model= `</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Execution model (WebAssembly only)`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-mexecute-only`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Disallow generation of data access to code sections (ARM only)`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-mextern-sdata`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Assume that externally defined data is in the small data if it meets the -G <size> threshold (MIPS)`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-mfentry`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Insert calls to fentry at function entry (x86/SystemZ only)`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-mfix-cortex-a53-835769`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Workaround Cortex-A53 erratum 835769 (AArch64 only)`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-mfp32`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Use 32-bit floating point registers (MIPS only)`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-mfp64`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Use 64-bit floating point registers (MIPS only)`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-MF <file>`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Write depfile output from -MMD, -MD, -MM, or -M to <file>`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-mgeneral-regs-only`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Generate code which only uses the general purpose registers (AArch64 only)`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-mglobal-merge`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Enable merging of globals`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-mgpopt`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Use GP relative accesses for symbols known to be in a small data section (MIPS)`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-MG`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Add missing headers to depfile`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-mharden-sls= `</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Select straight-line speculation hardening scope`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-mhvx-length= `</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Set Hexagon Vector Length`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-mhvx= `</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Enable Hexagon Vector eXtensions`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-mhvx`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Enable Hexagon Vector eXtensions`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-miamcu`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Use Intel MCU ABI`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`–migrate`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Run the migrator`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-mincremental-linker-compatible`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`(integrated-as) Emit an object file which can be used with an incremental linker`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-mindirect-jump= `</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Change indirect jump instructions to inhibit speculation`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-Minform= `</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Set error level of messages to display`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-mios-version-min= `</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Set iOS deployment target`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-MJ `</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Write a compilation database entry per input`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-mllvm `</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Additional arguments to forward to LLVM's option processing`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-mlocal-sdata`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Extend the -G behaviour to object local data (MIPS)`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-mlong-calls`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Generate branches with extended addressability, usually via indirect jumps.`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-mlong-double-128`</td> <td class="markdownTableBodyNone"> Supported on Host only</td> <td class="markdownTableBodyNone">`Force long double to be 128 bits`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-mlong-double-64`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Force long double to be 64 bits`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-mlong-double-80`</td> <td class="markdownTableBodyNone"> Supported on Host only</td> <td class="markdownTableBodyNone">`Force long double to be 80 bits, padded to 128 bits for storage`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-mlvi-cfi`</td> <td class="markdownTableBodyNone"> Supported on Host only</td> <td class="markdownTableBodyNone">`Enable only control-flow mitigations for Load Value Injection (LVI)`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-mlvi-hardening`</td> <td class="markdownTableBodyNone"> Supported on Host only</td> <td class="markdownTableBodyNone">`Enable all mitigations for Load Value Injection (LVI)`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-mmacosx-version-min= `</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Set Mac OS X deployment target`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-mmadd4`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Enable the generation of 4-operand madd.s, madd.d and related instructions.`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-mmark-bti-property`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Add .note.gnu.property with BTI to assembly files (AArch64 only)`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-MMD`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Write a depfile containing user headers`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-mmemops`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Enable generation of memop instructions`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-mms-bitfields`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Set the default structure layout to be compatible with the Microsoft compiler standard`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-mmsa`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Enable MSA ASE (MIPS only)`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-mmt`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Enable MT ASE (MIPS only)`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-MM`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Like -MMD, but also implies -E and writes to stdout by default`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-mno-abicalls`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Disable SVR4-style position-independent code (Mips only)`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-mno-crc`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Disallow use of CRC instructions (Mips only)`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-mno-embedded-data`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Do not place constants in the .rodata section instead of the .sdata if they meet the -G <size> threshold (MIPS)`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-mno-execute-only`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Allow generation of data access to code sections (ARM only)`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-mno-extern-sdata`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Do not assume that externally defined data is in the small data if it meets the -G <size> threshold (MIPS)`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-mno-fix-cortex-a53-835769`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Don't workaround Cortex-A53 erratum 835769 (AArch64 only)`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-mno-global-merge`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Disable merging of globals`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-mno-gpopt`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Do not use GP relative accesses for symbols known to be in a small data section (MIPS)`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-mno-hvx`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Disable Hexagon Vector eXtensions`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-mno-implicit-float`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Don't generate implicit floating point instructions`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-mno-incremental-linker-compatible`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`(integrated-as) Emit an object file which cannot be used with an incremental linker`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-mno-local-sdata`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Do not extend the -G behaviour to object local data (MIPS)`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-mno-long-calls`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Restore the default behaviour of not generating long calls`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-mno-lvi-cfi`</td> <td class="markdownTableBodyNone"> Supported on Host only</td> <td class="markdownTableBodyNone">`Disable control-flow mitigations for Load Value Injection (LVI)`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-mno-lvi-hardening`</td> <td class="markdownTableBodyNone"> Supported on Host only</td> <td class="markdownTableBodyNone">`Disable mitigations for Load Value Injection (LVI)`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-mno-madd4`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Disable the generation of 4-operand madd.s, madd.d and related instructions.`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-mno-memops`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Disable generation of memop instructions`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-mno-movt`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Disallow use of movt/movw pairs (ARM only)`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-mno-ms-bitfields`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Do not set the default structure layout to be compatible with the Microsoft compiler standard`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-mno-msa`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Disable MSA ASE (MIPS only)`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-mno-mt`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Disable MT ASE (MIPS only)`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-mno-neg-immediates`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Disallow converting instructions with negative immediates to their negation or inversion.`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-mno-nvj`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Disable generation of new-value jumps`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-mno-nvs`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Disable generation of new-value stores`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-mno-outline`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Disable function outlining (AArch64 only)`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-mno-packets`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Disable generation of instruction packets`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-mno-relax`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Disable linker relaxation`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-mno-restrict-it`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Allow generation of deprecated IT blocks for ARMv8. It is off by default for ARMv8 Thumb mode`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-mno-save-restore`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Disable using library calls for save and restore`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-mno-seses`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Disable speculative execution side effect suppression (SESES)`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-mno-stack-arg-probe`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Disable stack probes which are enabled by default`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-mno-tls-direct-seg-refs`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Disable direct TLS access through segment registers`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-mno-unaligned-access`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Force all memory accesses to be aligned (AArch32/AArch64 only)`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-mno-wavefrontsize64`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Specify wavefront size 32 mode (AMDGPU only)`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-mnocrc`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Disallow use of CRC instructions (ARM only)`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-mnop-mcount`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Generate mcount/__fentry calls as nops. To activate they need to be patched in.`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-mnvj`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Enable generation of new-value jumps`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-mnvs`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Enable generation of new-value stores`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-module-dependency-dir `</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Directory to dump module dependencies to`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-module-file-info`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Provide information about a particular module file`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-momit-leaf-frame-pointer`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Omit frame pointer setup for leaf functions`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-moutline`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Enable function outlining (AArch64 only)`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-mpacked-stack`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Use packed stack layout (SystemZ only).`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-mpackets`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Enable generation of instruction packets`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-mpad-max-prefix-size= `</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Specify maximum number of prefixes to use for padding`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-mpie-copy-relocations`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Use copy relocations support for PIE builds`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-mprefer-vector-width= `</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Specifies preferred vector width for auto-vectorization. Defaults to 'none' which allows target specific decisions.`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-MP`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Create phony target for each dependency (other than main file)`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-mqdsp6-compat`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Enable hexagon-qdsp6 backward compatibility`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-MQ `</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Specify name of main file output to quote in depfile`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-mrecord-mcount`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Generate a mcount_loc section entry for each __fentry call.`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-mrelax-all`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`(integrated-as) Relax all machine instructions`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-mrelax`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Enable linker relaxation`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-mrestrict-it`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Disallow generation of deprecated IT blocks for ARMv8. It is on by default for ARMv8 Thumb mode.`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-mrtd`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Make StdCall calling convention the default`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-msave-restore`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Enable using library calls for save and restore`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-mseses`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Enable speculative execution side effect suppression (SESES). Includes LVI control flow integrity mitigations`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-msign-return-address= `</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Select return address signing scope`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-msmall-data-limit= `</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Put global and static data smaller than the limit into a special section`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-msoft-float`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Use software floating point`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-msram-ecc`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Legacy option to specify SRAM ECC mode (AMDGPU only). Should use –offload-arch with :sramecc+ instead`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-mstack-alignment= `</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Set the stack alignment`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-mstack-arg-probe`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Enable stack probes`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-mstack-probe-size= `</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Set the stack probe size`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-mstackrealign`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Force realign the stack at entry to every function`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-msve-vector-bits= `</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Specify the size in bits of an SVE vector register. Defaults to the vector length agnostic value of "scalable". (AArch64 only)`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-msvr4-struct-return`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Return small structs in registers (PPC32 only)`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-mthread-model `</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`The thread model to use, e.g. posix, single (posix by default)`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-mtls-direct-seg-refs`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Enable direct TLS access through segment registers (default)`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-mtls-size= `</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Specify bit size of immediate TLS offsets (AArch64 ELF only): 12 (for 4KB) | 24 (for 16MB, default) | 32 (for 4GB) | 48 (for 256TB, needs -mcmodel=large)`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-mtp= `</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Thread pointer access method (AArch32/AArch64 only)`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-mtune= `</td> <td class="markdownTableBodyNone"> Supported on Host only</td> <td class="markdownTableBodyNone">`Only supported on X86. Otherwise accepted for compatibility with GCC.`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-MT `</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Specify name of main file output in depfile`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-munaligned-access`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Allow memory accesses to be unaligned (AArch32/AArch64 only)`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-MV`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Use NMake/Jom format for the depfile`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-mwavefrontsize64`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Specify wavefront size 64 mode (AMDGPU only)`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-mxnack`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Legacy option to specify XNACK mode (AMDGPU only). Should use –offload-arch with :xnack+ instead`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-M`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Like -MD, but also implies -E and writes to stdout by default`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`–no-cuda-include-ptx= `</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Do not include PTX for the following GPU architecture (e.g. sm_35) or 'all'. May be specified more than once.`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`–no-cuda-version-check`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Don't error out if the detected version of the CUDA install is too low for the requested CUDA gpu architecture.`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-no-flang-libs`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Do not link against Flang libraries`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`–no-offload-arch= `</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Remove CUDA/HIP offloading device architecture (e.g. sm_35, gfx906) from the list of devices to compile for. 'all' resets the list to its default value.`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`–no-system-header-prefix=<prefix>`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Treat all #include paths starting with <prefix> as not including a system header.`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-nobuiltininc`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Disable builtin #include directories`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-nogpuinc`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Do not add CUDA/HIP include paths and include default CUDA/HIP wrapper header files`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-nogpulib`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Do not link device library for CUDA/HIP device compilation`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-nostdinc++`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Disable standard #include directories for the C++ standard library`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-ObjC++`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Treat source input files as Objective-C++ inputs`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-objcmt-atomic-property`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Make migration to 'atomic' properties`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-objcmt-migrate-all`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Enable migration to modern ObjC`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-objcmt-migrate-annotation`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Enable migration to property and method annotations`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-objcmt-migrate-designated-init`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Enable migration to infer NS_DESIGNATED_INITIALIZER for initializer methods`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-objcmt-migrate-instancetype`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Enable migration to infer instancetype for method result type`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-objcmt-migrate-literals`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Enable migration to modern ObjC literals`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-objcmt-migrate-ns-macros`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Enable migration to NS_ENUM/NS_OPTIONS macros`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-objcmt-migrate-property-dot-syntax`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Enable migration of setter/getter messages to property-dot syntax`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-objcmt-migrate-property`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Enable migration to modern ObjC property`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-objcmt-migrate-protocol-conformance`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Enable migration to add protocol conformance on classes`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-objcmt-migrate-readonly-property`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Enable migration to modern ObjC readonly property`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-objcmt-migrate-readwrite-property`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Enable migration to modern ObjC readwrite property`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-objcmt-migrate-subscripting`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Enable migration to modern ObjC subscripting`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-objcmt-ns-nonatomic-iosonly`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Enable migration to use NS_NONATOMIC_IOSONLY macro for setting property's 'atomic' attribute`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-objcmt-returns-innerpointer-property`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Enable migration to annotate property with NS_RETURNS_INNER_POINTER`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-objcmt-whitelist-dir-path= `</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Only modify files with a filename contained in the provided directory path`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-ObjC`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Treat source input files as Objective-C inputs`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`–offload-arch= `</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`CUDA offloading device architecture (e.g. sm_35), or HIP offloading target ID in the form of a device architecture followed by target ID features delimited by a colon. Each target ID feature is a pre-defined string followed by a plus or minus sign (e.g. gfx908:xnack+:sramecc-). May be specified more than once.`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-o <file>`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Write output to <file>`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-parallel-jobs= `</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Number of parallel jobs`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-pg`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Enable mcount instrumentation`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-pipe`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Use pipes between commands, when possible`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`–precompile`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Only precompile the input`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-print-effective-triple`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Print the effective target triple`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-print-file-name=<file>`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Print the full library path of <file>`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-print-ivar-layout`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Enable Objective-C Ivar layout bitmap print trace`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-print-libgcc-file-name`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Print the library path for the currently used compiler runtime library ("libgcc.a" or "libclang_rt.builtins.*.a")`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-print-prog-name=<name>`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Print the full program path of <name>`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-print-resource-dir`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Print the resource directory pathname`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-print-search-dirs`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Print the paths used for finding libraries and programs`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-print-supported-cpus`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Print supported cpu models for the given target (if target is not specified, it will print the supported cpus for the default target)`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-print-target-triple`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Print the normalized target triple`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-print-targets`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Print the registered targets`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-pthread`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Support POSIX threads in generated code`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`–ptxas-path= `</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Path to ptxas (used for compiling CUDA code)`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-P`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Disable linemarker output in -E mode`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-Qn`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Do not emit metadata containing compiler name and version`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-Qunused-arguments`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Don't emit warning for unused driver arguments`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-Qy`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Emit metadata containing compiler name and version`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-relocatable-pch`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Whether to build a relocatable precompiled header`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-rewrite-legacy-objc`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Rewrite Legacy Objective-C source to C++`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-rewrite-objc`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Rewrite Objective-C source to C++`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`–rocm-device-lib-path= `</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`ROCm device library path. Alternative to rocm-path.`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`–rocm-path= `</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`ROCm installation path, used for finding and automatically linking required bitcode libraries.`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-Rpass-analysis= `</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Report transformation analysis from optimization passes whose name matches the given POSIX regular expression`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-Rpass-missed= `</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Report missed transformations by optimization passes whose name matches the given POSIX regular expression`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-Rpass= `</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Report transformations performed by optimization passes whose name matches the given POSIX regular expression`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-rtlib= `</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Compiler runtime library to use`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-R<remark>`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Enable the specified remark`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-save-stats= `</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Save llvm statistics.`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-save-stats`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Save llvm statistics.`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-save-temps= `</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Save intermediate compilation results.`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-save-temps`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Save intermediate compilation results`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-serialize-diagnostics `</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Serialize compiler diagnostics to a file`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-shared-libsan`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Dynamically link the sanitizer runtime`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-static-flang-libs`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Link using static Flang libraries`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-static-libsan`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Statically link the sanitizer runtime`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-static-openmp`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Use the static host OpenMP runtime while linking.`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-std= `</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Language standard to compile for`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-stdlib++-isystem <directory>`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Use directory as the C++ standard library include path`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-stdlib= `</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`C++ standard library to use`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-sycl-std= `</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`SYCL language standard to compile for.`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`–system-header-prefix=<prefix>`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Treat all #include paths starting with <prefix> as including a system header.`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-S`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Only run preprocess and compilation steps`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`–target= `</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Generate code for the given target`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-Tbss <addr>`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Set starting address of BSS to <addr>`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-Tdata <addr>`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Set starting address of DATA to <addr>`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-time`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Time individual commands`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-traditional-cpp`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Enable some traditional CPP emulation`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-trigraphs`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Process trigraph sequences`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-Ttext <addr>`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Set starting address of TEXT to <addr>`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-T <script>`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Specify <script> as linker script`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-undef`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`undef all system defines`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-unwindlib= `</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Unwind library to use`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-U <macro>`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Undefine macro <macro>`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`–verify-debug-info`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Verify the binary representation of debug output`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-verify-pch`</td> <td class="markdownTableBodyNone"> Unsupported</td> <td class="markdownTableBodyNone">`Load and verify that a pre-compiled header file is not stale`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`–version`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Print version information`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-v`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Show commands to run and use verbose output`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-Wa,<arg>`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Pass the comma separated arguments in <arg> to the assembler`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-Wdeprecated`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Enable warnings for deprecated constructs and define __DEPRECATED`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-Wl,<arg>`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Pass the comma separated arguments in <arg> to the linker`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-working-directory `</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Resolve file paths relative to the specified directory`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-Wp,<arg>`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Pass the comma separated arguments in <arg> to the preprocessor`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-W<warning>`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Enable the specified warning`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-w`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Suppress all warnings`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-Xanalyzer <arg>`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Pass <arg> to the static analyzer`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-Xarch_device <arg>`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Pass <arg> to the CUDA/HIP device compilation`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-Xarch_host <arg>`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Pass <arg> to the CUDA/HIP host compilation`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-Xassembler <arg>`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Pass <arg> to the assembler`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-Xclang <arg>`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Pass <arg> to the clang compiler`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-Xcuda-fatbinary <arg>`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Pass <arg> to fatbinary invocation`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-Xcuda-ptxas <arg>`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Pass <arg> to the ptxas assembler`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-Xlinker <arg>`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Pass <arg> to the linker`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-Xopenmp-target=<triple> <arg>`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Pass <arg> to the target offloading toolchain identified by <triple>.`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-Xopenmp-target <arg>`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Pass <arg> to the target offloading toolchain.`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-Xpreprocessor <arg>`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Pass <arg> to the preprocessor`</td> </tr> <tr class="markdownTableRowOdd"> <td class="markdownTableBodyNone">`-x <language>`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Treat subsequent input files as having type <language>`</td> </tr> <tr class="markdownTableRowEven"> <td class="markdownTableBodyNone">`-z <arg>`</td> <td class="markdownTableBodyNone"> Supported</td> <td class="markdownTableBodyNone">`Pass -z <arg> to the linker`