diff options
author | Alex Bennée <alex.bennee@linaro.org> | 2020-02-25 17:49:08 +0000 |
---|---|---|
committer | Alex Bennée <alex.bennee@linaro.org> | 2020-02-25 20:20:23 +0000 |
commit | fcc54ab5c7ca84ae72e8bf3781c33c9193a911aa (patch) | |
tree | 4d477931fc17110ae94d83618dd2dcf22e55b0a4 /qtest.c | |
parent | a0dafafebaefadc1eb883c124830b22d64ad0f8a (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>
Diffstat (limited to 'qtest.c')
0 files changed, 0 insertions, 0 deletions