[cfe-dev] getting both log and crash from ubsan?

Sean McBride sean at rogue-research.com
Wed May 29 13:21:31 PDT 2013


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?

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 backtraces).

Thanks,

-- 
____________________________________________________________
Sean McBride, B. Eng                 sean at rogue-research.com
Rogue Research                        www.rogue-research.com 
Mac Software Developer              Montréal, Québec, Canada






More information about the cfe-dev mailing list