aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Thackray <jonathan.thackray@arm.com>2024-07-15 16:06:07 +0100
committerGitHub <noreply@github.com>2024-07-15 16:06:07 +0100
commit94efdff84a8f6d52915b90b705fe991f4888c544 (patch)
treed670886935f4d0c7828548951459a5a94ca54ea2
parentacc159aea1e641e3694ab8fe5faa231788077011 (diff)
downloadllvm-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.rst8
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
~~~~~~~~~~~~~~~~~~~~~~~