[flang-commits] [clang] [flang] [llvm] [flang] Add runtime trampoline pool for W^X compliance (PR #183108)

Tarun Prabhu via flang-commits flang-commits at lists.llvm.org
Thu Feb 26 09:01:20 PST 2026


================
@@ -0,0 +1,15 @@
+! Test that -fruntime-trampoline is properly forwarded from driver to
+! frontend, and that -fno-runtime-trampoline (default) works.
+
+! REQUIRES: x86-registered-target
+
+! RUN: %flang -### -fruntime-trampoline %s -o %t 2>&1 | FileCheck %s --check-prefix=CHECK-ON
----------------
tarunprabhu wrote:

Just a nit. Feel free to ignore the suggestion. The `CHECK-` prefix is redundant if you are providing a name. You could just name them `ON` and `OFF`.

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


More information about the flang-commits mailing list