arm64 front end: add early-writeback handling for w (32 bit int) and q (128 bit)...
commitad1cbd325124b21d74e5829bb0bb6577d19d6687
authorJulian Seward <jseward@acm.org>
Sun, 19 Aug 2018 07:18:20 +0000 (19 09:18 +0200)
committerJulian Seward <jseward@acm.org>
Sun, 19 Aug 2018 07:18:20 +0000 (19 09:18 +0200)
treeb949dab2b15b9af2188768f448fcff68e4e9de6c
parent43833b681df0fff4cc22a082b02c19fae147781c
arm64 front end: add early-writeback handling for w (32 bit int) and q (128 bit) stores.

Clang 6.0.1 creates instructions of the form str wX, [sp,#-N] and str qX,
[sp,#-N], and the lack of early writeback causes many false positive errors
from Memcheck, plus it potentially breaks the segfault-based main-thread stack
extension mechanism.  This commit adds support for them, using the same scheme
with which existing cases are handled.
VEX/priv/guest_arm64_toIR.c