[compiler-rt] 406131b - Fix "[compiler-rt] Introduce asm macros for interceptor trampolines"

Marco Elver via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 9 04:08:32 PDT 2023


Author: Marco Elver
Date: 2023-06-09T13:08:13+02:00
New Revision: 406131b4c2d05b12210d19e2cde2d01bb89fc9aa

URL: https://github.com/llvm/llvm-project/commit/406131b4c2d05b12210d19e2cde2d01bb89fc9aa
DIFF: https://github.com/llvm/llvm-project/commit/406131b4c2d05b12210d19e2cde2d01bb89fc9aa.diff

LOG: Fix "[compiler-rt] Introduce asm macros for interceptor trampolines"

Add missing ASM_INTERCEPTOR_TRAMPOLINE(setjmp).

Added: 
    

Modified: 
    compiler-rt/lib/hwasan/hwasan_setjmp_aarch64.S

Removed: 
    


################################################################################
diff  --git a/compiler-rt/lib/hwasan/hwasan_setjmp_aarch64.S b/compiler-rt/lib/hwasan/hwasan_setjmp_aarch64.S
index 1df2930565e19..0c0abb6de861f 100644
--- a/compiler-rt/lib/hwasan/hwasan_setjmp_aarch64.S
+++ b/compiler-rt/lib/hwasan/hwasan_setjmp_aarch64.S
@@ -41,6 +41,8 @@ ASM_WRAPPER_NAME(setjmp):
   CFI_ENDPROC
 ASM_SIZE(ASM_WRAPPER_NAME(setjmp))
 
+ASM_INTERCEPTOR_TRAMPOLINE(setjmp)
+
 #if SANITIZER_ANDROID
 // Bionic also defines a function `setjmp` that calls `sigsetjmp` saving the
 // current signal.


        


More information about the llvm-commits mailing list