lib: drop (replace) debug_build()
authorJan Beulich <jbeulich@suse.com>
Thu, 14 Jan 2021 12:01:14 +0000 (13:01 +0100)
committerJan Beulich <jbeulich@suse.com>
Thu, 14 Jan 2021 12:01:14 +0000 (13:01 +0100)
commit1bdd12364e5a3afbd34148477705c6ab8953aa41
tree3500d2570acc8a35b48c71e48e42fe73708ba39e
parentd9751646697b1e2d337990264068ead3c10b993a
lib: drop (replace) debug_build()

Its expansion shouldn't be tied to NDEBUG - down the road we may want to
allow enabling assertions independently of CONFIG_DEBUG. Replace the few
uses by a new xen_build_info() helper, subsuming gcov_string at the same
time (while replacing the stale CONFIG_GCOV used there) and also adding
CONFIG_UBSAN indication.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Julien Grall <jgrall@amazon.com>
xen/arch/arm/traps.c
xen/arch/x86/x86_64/traps.c
xen/common/version.c
xen/drivers/char/console.c
xen/include/xen/lib.h
xen/include/xen/version.h