The code was using arch->vex.guest_IP_AT_SYSCALL but that got cleaned out on amd64
a while ago. Use EIP/RIP - 2 instead, like other x86 and amd64 platforms.
This fixes 5 more memcheck regression tests.
}
#elif defined(VGP_x86_darwin)
- arch->vex.guest_EIP = arch->vex.guest_IP_AT_SYSCALL;
+ arch->vex.guest_EIP -= 2;
/* Make sure our caller is actually sane, and we're really backing
back over a syscall.
}
#elif defined(VGP_amd64_darwin)
- arch->vex.guest_RIP = arch->vex.guest_IP_AT_SYSCALL;
+ arch->vex.guest_RIP -= 2;
/* Make sure our caller is actually sane, and we're really backing
back over a syscall.