[clang] [llvm] [AArch64] Add ability to list extensions enabled for a target (PR #95805)
David Spickett via cfe-commits
cfe-commits at lists.llvm.org
Mon Jun 17 09:06:51 PDT 2024
================
@@ -204,6 +238,10 @@ int cc1_main(ArrayRef<const char *> Argv, const char *Argv0, void *MainAddr) {
if (Clang->getFrontendOpts().PrintSupportedExtensions)
return PrintSupportedExtensions(Clang->getTargetOpts().Triple);
+ // --print-enabled-extensions takes priority over the actual compilation.
----------------
DavidSpickett wrote:
What happens if I ask for `--print-supported-extensions` and `--print-enabled-extensions`?
I'd guess either both happen, or the last one in wins.
https://github.com/llvm/llvm-project/pull/95805
More information about the cfe-commits
mailing list