From: Julian Seward Date: Sat, 30 Aug 2014 19:24:05 +0000 (+0000) Subject: Fix (kludge) stack unwinding through clone on arm64-linux. This is X-Git-Tag: svn/VALGRIND_3_10_0~109 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ffdff34aefecf4f700bc9ee9c01c69dcce6ddc85;p=thirdparty%2Fvalgrind.git Fix (kludge) stack unwinding through clone on arm64-linux. This is 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 --- diff --git a/helgrind/hg_main.c b/helgrind/hg_main.c index 274d3feb26..58ae2d6e85 100644 --- a/helgrind/hg_main.c +++ b/helgrind/hg_main.c @@ -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); }