]> gcc.gnu.org Git - gcc.git/commitdiff
libsanitizer: cherry-pick commit 742bcbf685bc from upstream
authorH.J. Lu <hjl.tools@gmail.com>
Tue, 31 Jan 2023 22:34:00 +0000 (14:34 -0800)
committerH.J. Lu <(no_default)>
Tue, 31 Jan 2023 22:56:59 +0000 (14:56 -0800)
cherry-pick:

742bcbf685bc compiler-rt/lib: Add .Linterceptor_sigsetjmp

PR sanitizer/108106
* hwasan/hwasan_setjmp_x86_64.S (__interceptor_setjmp): Jump
to .Linterceptor_sigsetjmp instead of __interceptor_sigsetjmp.
(__interceptor_sigsetjmp): Add a local alias,
.Linterceptor_sigsetjmp.

libsanitizer/hwasan/hwasan_setjmp_x86_64.S

index 7566c1ea0a57ec114b9af03465802f786238ea19..a5a3858d94dc783c6adfe8079b62e5489ec6d04c 100644 (file)
@@ -37,13 +37,14 @@ __interceptor_setjmp:
   CFI_STARTPROC
   _CET_ENDBR
   xorl %esi, %esi
-  jmp  __interceptor_sigsetjmp
+  jmp  .Linterceptor_sigsetjmp
   CFI_ENDPROC
 ASM_SIZE(__interceptor_setjmp)
 
 .global __interceptor_sigsetjmp
 ASM_TYPE_FUNCTION(__interceptor_sigsetjmp)
 __interceptor_sigsetjmp:
+.Linterceptor_sigsetjmp:
   CFI_STARTPROC
   _CET_ENDBR
 
This page took 0.0604209999999999 seconds and 5 git commands to generate.