octave-maintainers
[Top][All Lists]
Advanced

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

Re: -fsanitize=undefined configure option?


From: John W. Eaton
Subject: Re: -fsanitize=undefined configure option?
Date: Sat, 15 Apr 2017 14:20:57 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Icedove/45.6.0

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?

jwe




reply via email to

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