[cfe-dev] getting both log and crash from ubsan?
richard at metafoo.co.uk
Wed May 29 15:27:01 PDT 2013
On Wed, May 29, 2013 at 1:21 PM, Sean McBride <sean at rogue-research.com>wrote:
> Hi all,
> When using ubsan it seems one has a choice of getting nice output like:
> runtime error: shift exponent -1 is negative
> or a SIGILL crash.
> Is it possible to have both?
Yes. Use -fno-sanitize-recover instead of
> I think it would be useful for automated nightly buildbots. The crash is
> useful because any test rig worth its salt will flag a crash as a failed
> test. But without the log in addition, you're left with either nothing or
> a backtrace if you're lucky (ctest/cdash for example don't gather crash
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the cfe-dev