On Wed, May 29, 2013 at 3:29 PM, Sean McBride <span dir="ltr"><<a href="mailto:sean@rogue-research.com" target="_blank">sean@rogue-research.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On Wed, 29 May 2013 15:27:01 -0700, Richard Smith said:<br>
<br>
>> When using ubsan it seems one has a choice of getting nice output like:<br>
>><br>
>>  runtime error: shift exponent -1 is negative<br>
>><br>
>> or a SIGILL crash.<br>
>><br>
>> Is it possible to have both?<br>
>><br>
><br>
>Yes. Use -fno-sanitize-recover instead of<br>
>-fsanitize-undefined-trap-on-error.<br>
<br>
</div>Awesome, thanks!  The word "recover" does not appear here BTW:<br>
<br>
<<a href="http://clang.llvm.org/docs/UsersManual.html" target="_blank">http://clang.llvm.org/docs/UsersManual.html</a>></blockquote><div><br></div><div>Good point. Fixed, thanks! </div></div>