mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
xen: Drop CONFIG_CC_HAS_UBSAN
All supported toolchains now have it. Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com> Acked-by: Jan Beulich <jbeulich@suse.com>
This commit is contained in:
1 parent
1163d45b56
commit
c249be1de9
2 files changed
+1
-5
No files matched your search
@@ -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
|
||||
|
||||
+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.
|
||||
|
||||