[compiler-rt] [llvm] [AArch64] Implement INIT/ADJUST_TRAMPOLINE (PR #70267)

David Truby via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 16 08:03:46 PDT 2024


================
@@ -272,6 +272,11 @@ switch32
 switch8
 switchu8
 
+// This function generates a custom trampoline function with the specific
+// realFunc and localsPtr values.
+void __trampoline_setup(uint32_t* trampOnStack, int trampSizeAllocated,
+                        const void* realFunc, void* localsPtr);
----------------
DavidTruby wrote:

Does this function exist in libgcc_s on AArch64 or will we have to require compiler-rt for this feature?

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


More information about the llvm-commits mailing list