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

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 16 11:42:44 PDT 2024


================
@@ -0,0 +1,31 @@
+; RUN: llc -mtriple=aarch64-- < %s | FileCheck %s
+; UNSUPPORTED: darwin, system-windows
+
+declare void @llvm.init.trampoline(i8*, i8*, i8*);
+declare i8* @llvm.adjust.trampoline(i8*);
----------------
MaskRay wrote:

Avoid typed pointers like `i8*`. Use opaque pointers `ptr`

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


More information about the llvm-commits mailing list