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

Saleem Abdulrasool via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 30 11:19:42 PDT 2023


================
@@ -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);
----------------
compnerd wrote:

Please clang-format this patch.  The `const` should line up with `uint32_t`.

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


More information about the llvm-commits mailing list