[flang-commits] [clang] [flang] [llvm] [flang] Add runtime trampoline pool for W^X compliance (PR #183108)
Eugene Epshteyn via flang-commits
flang-commits at lists.llvm.org
Wed Feb 25 09:29:32 PST 2026
================
@@ -7567,6 +7567,11 @@ defm stack_arrays : BoolOptionWithoutMarshalling<"f", "stack-arrays",
PosFlag<SetTrue, [], [ClangOption], "Attempt to allocate array temporaries on the stack, no matter their size">,
NegFlag<SetFalse, [], [ClangOption], "Allocate array temporaries on the heap (default)">>;
+defm enable_runtime_trampoline : BoolOptionWithoutMarshalling<"f",
+ "enable-runtime-trampoline",
----------------
eugeneepshteyn wrote:
Should it perhaps be `-fruntime-trampoline/-fno-runtime-trampoline`, similar to the other "yes/no" options?
https://github.com/llvm/llvm-project/pull/183108
More information about the flang-commits
mailing list