Skip to content

Commit 8071d6f

Browse files
committed
[AArch64][RISCV] Document option --print-supported-extensions
Change-Id: Ib0ff5deeb9415818ccd0480cfbcdadc97ddc9872
1 parent d873630 commit 8071d6f

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

clang/docs/CommandGuide/clang.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -400,6 +400,14 @@ number of cross compilers, or may only support a native target.
400400
option is only supported on AArch64 and RISC-V. On RISC-V, this option also
401401
prints out the ISA string of enabled extensions.
402402

403+
.. option:: --print-supported-extensions
404+
405+
Prints the list of extensions that are supported for any possible CPU target
406+
for the architecture specified by the combination of `--target`, `-march`,
407+
and `-mcpu` values. Currently, this option is only supported on AArch64
408+
and RISC-V. On RISC-V, this option also prints out the ISA string of
409+
enabled extensions.
410+
403411
Code Generation Options
404412
~~~~~~~~~~~~~~~~~~~~~~~
405413

0 commit comments

Comments
 (0)