diff options
author | Jonathan Thackray <jonathan.thackray@arm.com> | 2024-07-15 16:06:07 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-15 16:06:07 +0100 |
commit | 94efdff84a8f6d52915b90b705fe991f4888c544 (patch) | |
tree | d670886935f4d0c7828548951459a5a94ca54ea2 | |
parent | acc159aea1e641e3694ab8fe5faa231788077011 (diff) | |
download | llvm-94efdff84a8f6d52915b90b705fe991f4888c544.zip llvm-94efdff84a8f6d52915b90b705fe991f4888c544.tar.gz llvm-94efdff84a8f6d52915b90b705fe991f4888c544.tar.bz2 |
[AArch64][RISCV] Document option --print-supported-extensions (#98698)
Add documentation for the `--print-supported-extensions`
option which appears to be missing at present.
-rw-r--r-- | clang/docs/CommandGuide/clang.rst | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/clang/docs/CommandGuide/clang.rst b/clang/docs/CommandGuide/clang.rst index a348f36..2915429 100644 --- a/clang/docs/CommandGuide/clang.rst +++ b/clang/docs/CommandGuide/clang.rst @@ -400,6 +400,14 @@ number of cross compilers, or may only support a native target. option is only supported on AArch64 and RISC-V. On RISC-V, this option also prints out the ISA string of enabled extensions. +.. option:: --print-supported-extensions + + Prints the list of all extensions that are supported for every CPU target + for an architecture (specified through ``--target=<architecture>`` or + :option:`-arch` ``<architecture>``). If no target is specified, the system + default target will be used. Currently, this option is only supported on + AArch64 and RISC-V. + Code Generation Options ~~~~~~~~~~~~~~~~~~~~~~~ |