[clang] [clang][Driver] Support Outline Flags on RISC-V and X86 (PR #163664)

Sam Elliott via cfe-commits cfe-commits at lists.llvm.org
Tue Feb 10 19:47:47 PST 2026


================
@@ -5296,14 +5297,18 @@ def mmacos_version_min_EQ : Joined<["-"], "mmacos-version-min=">,
 def : Joined<["-"], "mmacosx-version-min=">,
   Visibility<[ClangOption, CC1Option, FC1Option, FlangOption]>,
   Group<m_Group>, Alias<mmacos_version_min_EQ>;
+def moutline
+    : Flag<["-"], "moutline">,
+      Group<f_clang_Group>,
+      Visibility<[ClangOption, CC1Option]>,
+      HelpText<"Enable function outlining (AArch64,Arm,RISC-V,X86 only)">;
----------------
lenary wrote:

I don't know (I will ping someone to ask), but as we're not consistent, I don't want this to block the rest of the stack.

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


More information about the cfe-commits mailing list