<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jul 31, 2015 at 5:15 AM, Karl Skomski <span dir="ltr"><<a href="mailto:karl@skomski.com" target="_blank">karl@skomski.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><span style="font-size:12.8000001907349px">Would it make sense to add the possibility to print a stacktrace also on SIGFPE and not only on SIGSEGV or SIGBUS?</span></div></blockquote><div><br></div><div>Yes, under a separate flag (handle_sigfpe=1). </div><div>I think it's fine to have this flag on by default. </div><div>Would you like to contribute a patch? </div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div style="font-size:12.8000001907349px">Only noticed that LibFuzzer doesn't generate any crash report because asan is not handling the signal.<br></div></div></blockquote><div><br></div><div>Makes sense. The sanitizers (except maybe a bit of ubsan) typically don't deal with floating point errors, </div><div>so no one cared about SIGFPE. But libFuzzer may discover some of those errors. </div><div><br></div><div>--kcc </div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div style="font-size:12.8000001907349px"><div><br>Kind regards,<br><br>Karl Skomski</div></div>
</div>
<br>_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:LLVMdev@cs.uiuc.edu">LLVMdev@cs.uiuc.edu</a>         <a href="http://llvm.cs.uiuc.edu" rel="noreferrer" target="_blank">http://llvm.cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev" rel="noreferrer" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a><br>
<br></blockquote></div><br></div></div>