Skip to content

[AArch64][RISCV] Document option --print-supported-extensions #98698

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 15, 2024

Conversation

jthackray
Copy link
Contributor

Add documentation for the --print-supported-extensions
option which appears to be missing at present.

@llvmbot llvmbot added the clang Clang issues not falling into any other category label Jul 12, 2024
@llvmbot
Copy link
Member

llvmbot commented Jul 12, 2024

@llvm/pr-subscribers-clang

Author: Jonathan Thackray (jthackray)

Changes

Add documentation for the --print-supported-extensions
option which appears to be missing at present.


Full diff: https://github.com/llvm/llvm-project/pull/98698.diff

1 Files Affected:

  • (modified) clang/docs/CommandGuide/clang.rst (+8)
diff --git a/clang/docs/CommandGuide/clang.rst b/clang/docs/CommandGuide/clang.rst
index a348f3640c5eb..2def6ab41c70f 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 extensions that are supported for any possible CPU target
+  for the architecture specified by the combination of `--target`, `-march`,
+  and `-mcpu` values. Currently, this option is only supported on AArch64
+  and RISC-V. On RISC-V, this option also prints out the ISA string of
+  enabled extensions.
+
 Code Generation Options
 ~~~~~~~~~~~~~~~~~~~~~~~
 

@jthackray jthackray merged commit 94efdff into llvm:main Jul 15, 2024
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
clang Clang issues not falling into any other category
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants