tools headers UAPI: Sync drm/i915_drm.h with the kernel sources
[linux-2.6-microblaze.git] / lib / Kconfig.ubsan
index 236c5ce..f3c57ed 100644 (file)
@@ -27,16 +27,6 @@ config UBSAN_TRAP
          the system. For some system builders this is an acceptable
          trade-off.
 
-config UBSAN_KCOV_BROKEN
-       def_bool KCOV && CC_HAS_SANCOV_TRACE_PC
-       depends on CC_IS_CLANG
-       depends on !$(cc-option,-Werror=unused-command-line-argument -fsanitize=bounds -fsanitize-coverage=trace-pc)
-       help
-         Some versions of clang support either UBSAN or KCOV but not the
-         combination of the two.
-         See https://bugs.llvm.org/show_bug.cgi?id=45831 for the status
-         in newer releases.
-
 config CC_HAS_UBSAN_BOUNDS
        def_bool $(cc-option,-fsanitize=bounds)
 
@@ -46,7 +36,6 @@ config CC_HAS_UBSAN_ARRAY_BOUNDS
 config UBSAN_BOUNDS
        bool "Perform array index bounds checking"
        default UBSAN
-       depends on !UBSAN_KCOV_BROKEN
        depends on CC_HAS_UBSAN_ARRAY_BOUNDS || CC_HAS_UBSAN_BOUNDS
        help
          This option enables detection of directly indexed out of bounds
@@ -72,7 +61,6 @@ config UBSAN_ARRAY_BOUNDS
 config UBSAN_LOCAL_BOUNDS
        bool "Perform array local bounds checking"
        depends on UBSAN_TRAP
-       depends on !UBSAN_KCOV_BROKEN
        depends on $(cc-option,-fsanitize=local-bounds)
        help
          This option enables -fsanitize=local-bounds which traps when an