Merge branch 'for-5.12/i2c-hid' into for-linus
[linux-2.6-microblaze.git] / lib / Kconfig.ubsan
index 8b635fd..3a0b1c9 100644 (file)
@@ -123,6 +123,7 @@ config UBSAN_SIGNED_OVERFLOW
 config UBSAN_UNSIGNED_OVERFLOW
        bool "Perform checking for unsigned arithmetic overflow"
        depends on $(cc-option,-fsanitize=unsigned-integer-overflow)
+       depends on !X86_32 # avoid excessive stack usage on x86-32/clang
        help
          This option enables -fsanitize=unsigned-integer-overflow which checks
          for overflow of any arithmetic operations with unsigned integers. This