diff options
| author | Alex Bennée <alex.bennee@linaro.org> | 2020-05-13 18:51:34 +0100 |
|---|---|---|
| committer | Alex Bennée <alex.bennee@linaro.org> | 2020-05-15 15:25:16 +0100 |
| commit | 5f0df0333b20be816ae54a3fa6476f79f9da160e (patch) | |
| tree | f38ea43cf96fed585bdf73beea3b0bda9589e485 /include/qemu/plugin.h | |
| parent | 16b22e02b57e403568b471511e0b2a70789c94df (diff) | |
| download | focaccia-qemu-5f0df0333b20be816ae54a3fa6476f79f9da160e.tar.gz focaccia-qemu-5f0df0333b20be816ae54a3fa6476f79f9da160e.zip | |
translate-all: include guest address in out_asm output
We already have information about where each guest instructions representation starts stored in the tcg_ctx->gen_insn_data so we can rectify the PC for faults. We can re-use this information to annotate the out_asm output with guest instruction address which makes it a bit easier to work out where you are especially with longer blocks. A minor wrinkle is that some instructions get optimised away so we have to scan forward until we find some actual generated code. Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Message-Id: <20200513175134.19619-11-alex.bennee@linaro.org>
Diffstat (limited to 'include/qemu/plugin.h')
0 files changed, 0 insertions, 0 deletions