]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Fix (kludge) stack unwinding through clone on arm64-linux. This is
authorJulian Seward <jseward@acm.org>
Sat, 30 Aug 2014 19:24:05 +0000 (19:24 +0000)
committerJulian Seward <jseward@acm.org>
Sat, 30 Aug 2014 19:24:05 +0000 (19:24 +0000)
the same problem as shown in #338681, except for arm64-linux instead
of x86-linux.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14397

helgrind/hg_main.c

index 274d3feb26ddff75fb3a9be9bb5cdc138afde734..58ae2d6e859b8b9da9c6175fb8b337e9f09cf8b9 100644 (file)
@@ -1579,6 +1579,8 @@ void evh__pre_thread_ll_create ( ThreadId parent, ThreadId child )
       { Word first_ip_delta = 0;
 #       if defined(VGP_amd64_linux)
         first_ip_delta = -3;
+#       elif defined(VGP_arm64_linux)
+        first_ip_delta = -1;
 #       endif
         thr_c->created_at = VG_(record_ExeContext)(parent, first_ip_delta);
       }