Messages in this thread Patch in this message | | | Date | Mon, 4 Jan 2021 15:33:33 -0800 | From | Andrew Morton <> | Subject | Re: [PATCH] ubsan: disable unsigned-integer-overflow sanitizer with clang |
| |
On Mon, 4 Jan 2021 15:33:36 -0700 Nathan Chancellor <natechancellor@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 _
| |