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 a5019735-40e9-0310-863c-91ae7b9d1cf9
diff --git a/helgrind/hg_main.c b/helgrind/hg_main.c
index 274d3fe..58ae2d6 100644
--- a/helgrind/hg_main.c
+++ b/helgrind/hg_main.c
@@ -1579,6 +1579,8 @@
{ 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);
}