diff options
author | Emilio G. Cota <cota@braap.org> | 2017-07-12 15:31:57 -0400 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2017-10-10 07:37:10 -0700 |
commit | 6eb062abd66611333056633899d3f09c2e795f4c (patch) | |
tree | 63ec4483ada302b6df9e4c1aa57e441112f09204 /accel/tcg/cpu-exec.c | |
parent | dae9e03aed8e652f5dce2e5cab05dff83aa193b8 (diff) |
translate-all: define and use DEBUG_TB_CHECK_GATE
This prevents bit rot by ensuring the debug code is compiled when
building a user-mode target.
Unfortunately the helpers are user-mode-only so we cannot fully
get rid of the ifdef checks. Add a comment to explain this.
Suggested-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Emilio G. Cota <cota@braap.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'accel/tcg/cpu-exec.c')
0 files changed, 0 insertions, 0 deletions