|
From: <sv...@va...> - 2014-08-30 19:24:13
|
Author: sewardj
Date: Sat Aug 30 19:24:05 2014
New Revision: 14397
Log:
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.
Modified:
trunk/helgrind/hg_main.c
Modified: trunk/helgrind/hg_main.c
==============================================================================
--- trunk/helgrind/hg_main.c (original)
+++ trunk/helgrind/hg_main.c Sat Aug 30 19:24:05 2014
@@ -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);
}
|