[flang-commits] [clang] [flang] [llvm] [flang] Add runtime trampoline pool for W^X compliance (PR #183108)
Slava Zakharin via flang-commits
flang-commits at lists.llvm.org
Thu Feb 26 12:47:06 PST 2026
================
@@ -66,3 +66,15 @@ when output takes place to a sequential unit after
executing a `BACKSPACE` or `REWIND` statement.
Truncation of a stream-access unit is common to several other
compilers, but it is not mentioned in the standard.
+
+## `FLANG_TRAMPOLINE_POOL_SIZE`
+
+Set `FLANG_TRAMPOLINE_POOL_SIZE` to an integer value to control the maximum
+number of runtime trampoline slots available when `-fruntime-trampoline` is
+enabled. Each slot is 32 bytes of executable code backed by a writable data
----------------
vzakhari wrote:
`32` - true for all targets?
https://github.com/llvm/llvm-project/pull/183108
More information about the flang-commits
mailing list