octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: -fsanitize=undefined configure option?


From: Rik
Subject: Re: -fsanitize=undefined configure option?
Date: Sat, 15 Apr 2017 13:58:43 -0700

On 04/15/2017 11:20 AM, John W. Eaton wrote:
> On 04/15/2017 01:43 PM, Rik wrote:
>> jwe,
>>
>> Is this extra level of code checking useful enough to make it worthwhile to
>> put in a configure option for it?  We already have one for
>> -fsanitize=address.
>>
>>  --enable-address-sanitizer-flags
>>                           add extra -fsanitize=address and
>>                           -fno-omit-frame-pointer options to CFLAGS,
>> CXXFLAGS,
>>                           and LDFLAGS
>>
>> Then build-bots could simply run with a a different configure option,
>> rather than hand-modifying all of the FLAG variables.
>
> OK.
>
> Maybe instead of separate options we should have a single
> --enable-sanitizer=OPTIONS that accepts the options that -fsanitize=
> accepts?

I'm okay with either, but it is somewhat more straightforward to have one
--enable-sanitizer option and then an option.

--Rik



reply via email to

[Prev in Thread] Current Thread [Next in Thread]