]> git.proxmox.com Git - mirror_qemu.git/commit - translate-all.c
mttcg: translate-all: Enable locking debug in a debug build
authorPranith Kumar <bobby.prani@gmail.com>
Thu, 23 Feb 2017 18:29:05 +0000 (18:29 +0000)
committerAlex Bennée <alex.bennee@linaro.org>
Fri, 24 Feb 2017 10:32:45 +0000 (10:32 +0000)
commit6ac3d7e845549f08473f020c1c70f14b8911a67e
tree0f082ca31bcdb64ca0fd01fffbb96d463792e170
parentc6489dd921e7450bced1816013eb22cc100ed07c
mttcg: translate-all: Enable locking debug in a debug build

Enable tcg lock debug asserts in a debug build by default instead of
relying on DEBUG_LOCKING. None of the other DEBUG_* macros have
asserts, so this patch removes DEBUG_LOCKING and enable these asserts
in a debug build.

CC: Richard Henderson <rth@twiddle.net>
Signed-off-by: Pranith Kumar <bobby.prani@gmail.com>
[AJB: tweak ifdefs so can be early in series]
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Richard Henderson <rth@twiddle.net>
translate-all.c