[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
Tue Jun 18 06:08:07 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:

Cool, I doubt anyone is going to combine them any time soon, but good that something deterministic happens.

https://github.com/llvm/llvm-project/pull/95805


More information about the cfe-commits mailing list