[flang-commits] [clang] [flang] [llvm] [flang] Add runtime trampoline pool for W^X compliance (PR #183108)
Sairudra More via flang-commits
flang-commits at lists.llvm.org
Sat Feb 28 03:43:27 PST 2026
================
@@ -7588,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 runtime_trampoline : BoolOptionWithoutMarshalling<"f",
+ "runtime-trampoline",
+ PosFlag<SetTrue, [], [ClangOption], "Use W^X compliant runtime trampoline pool for internal procedures">,
----------------
Saieiei wrote:
renamed to `-fsafe-trampoline` / `-fno-safe-trampoline` across all files and tests in the latest [push](https://github.com/llvm/llvm-project/pull/183108/changes/95239b46c85d9e8c1deb7fd70189b119e5159e73).
https://github.com/llvm/llvm-project/pull/183108
More information about the flang-commits
mailing list