On Mon, 4 Jan 2021 15:33:36 -0700 Nathan Chancellor <natechancel...@gmail.com> 
wrote:

> > > +++ b/lib/Kconfig.ubsan
> > > @@ -122,6 +122,8 @@ config UBSAN_SIGNED_OVERFLOW
> > >
> > >  config UBSAN_UNSIGNED_OVERFLOW
> > >         bool "Perform checking for unsigned arithmetic overflow"
> > > +       # clang hugely expands stack usage with -fsanitize=object-size
> > 
> > This is the first time -fsanitize=object-size is mentioned. Typo?
> 
> Copy and paste issue from CONFIG_UBSAN_OBJECT_SIZE

This?

--- 
a/lib/Kconfig.ubsan~ubsan-disable-unsigned-integer-overflow-sanitizer-with-clang-fix
+++ a/lib/Kconfig.ubsan
@@ -122,7 +122,7 @@ config UBSAN_SIGNED_OVERFLOW
 
 config UBSAN_UNSIGNED_OVERFLOW
        bool "Perform checking for unsigned arithmetic overflow"
-       # clang hugely expands stack usage with -fsanitize=object-size
+       # clang hugely expands stack usage with 
-fsanitize=unsigned-integer-overflow
        depends on !CC_IS_CLANG
        depends on $(cc-option,-fsanitize=unsigned-integer-overflow)
        help
_

Reply via email to