xen: Drop CONFIG_CC_HAS_UBSAN
PATCH 1/1 xen: Drop CONFIG_CC_HAS_UBSAN
All supported toolchains now have it.
Signed-off-by Andrew Cooper <[email protected]>
---
CC: Anthony PERARD <[email protected]>
CC: Michal Orzel <[email protected]>
CC: Jan Beulich <[email protected]>
CC: Julien Grall <[email protected]>
CC: Roger Pau Monné <[email protected]>
CC: Stefano Stabellini <[email protected]>
--- xen/Kconfig | 4 ---- xen/Kconfig.debug | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-)
xen/Kconfig +0 -4
@@ -37,10 +37,6 @@ config CC_HAS_VISIBILITY_ATTRIBUTE config CC_SPLIT_SECTIONS bool -# Compiler supports -fsanitize=undefined -config CC_HAS_UBSAN - def_bool $(cc-option,-fsanitize=undefined) - # Set code alignment. # # Allow setting on a boolean basis, and then convert such selection to an
xen/Kconfig.debug +1 -1
@@ -98,7 +98,7 @@ config SCRUB_DEBUG config UBSAN bool "Undefined behaviour sanitizer" - depends on HAS_UBSAN && CC_HAS_UBSAN + depends on HAS_UBSAN help Enable undefined behaviour sanitizer. It uses compiler to insert code snippets so that undefined behaviours in C are detected during runtime.
Signature · 1 line
2.39.5
Quoted 3 lines · Andrew Cooper
All supported toolchains now have it.
Signed-off-by Andrew Cooper <[email protected]>
Acked-by Jan Beulich <[email protected]>