]> git.proxmox.com Git - mirror_qemu.git/commit
tcg: Manage splitwx in tc_ptr_to_region_tree by hand
authorRichard Henderson <richard.henderson@linaro.org>
Thu, 28 Jan 2021 07:47:05 +0000 (21:47 -1000)
committerRichard Henderson <richard.henderson@linaro.org>
Sat, 6 Mar 2021 19:45:21 +0000 (11:45 -0800)
commit0610067ec032eb7fab3c3f68ec3fea5adbf4ec40
treecbd200b125346f708a7198e1ac073417ee7c41ce
parentdb6b7d0c6936cd209e3e8d95aea61ad29ceef5e6
tcg: Manage splitwx in tc_ptr_to_region_tree by hand

The use in tcg_tb_lookup is given a random pc that comes from the pc
of a signal handler.  Do not assert that the pointer is already within
the code gen buffer at all, much less the writable mirror of it.

Fixes: db0c51a3803
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
tcg/tcg.c