diff options
author | Alex Bennée <alex.bennee@linaro.org> | 2020-02-25 17:49:08 +0000 |
---|---|---|
committer | Michael Roth <mdroth@linux.vnet.ibm.com> | 2020-06-02 10:40:21 -0500 |
commit | e49ae74a248fb8d4a90b8376ee2188f2b7cc5992 (patch) | |
tree | 21ff2011aa27c4b3023d5b64e0ac46a7dbedd4b4 /tests/test-bufferiszero.c | |
parent | 0319118bcfbbfb91bac8d83e5908c0fec7e11307 (diff) |
tcg: save vaddr temp for plugin usage
While do_gen_mem_cb does copy (via extu_tl_i64) vaddr into a new temp
this won't help if the vaddr temp gets clobbered by the actual
load/store op. To avoid this clobbering we explicitly copy vaddr
before the op to ensure it is live my the time we do the
instrumentation.
Suggested-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Emilio G. Cota <cota@braap.org>
Cc: qemu-stable@nongnu.org
Message-Id: <20200225124710.14152-18-alex.bennee@linaro.org>
(cherry picked from commit fcc54ab5c7ca84ae72e8bf3781c33c9193a911aa)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
Diffstat (limited to 'tests/test-bufferiszero.c')
0 files changed, 0 insertions, 0 deletions