<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Mar 21, 2016, at 4:37 PM, Rafael Espíndola <<a href="mailto:rafael.espindola@gmail.com" class="">rafael.espindola@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><p dir="ltr" class=""><br class="">
On Mar 21, 2016 6:48 PM, "Quentin Colombet" <<a href="mailto:qcolombet@apple.com" class="">qcolombet@apple.com</a>> wrote:<br class="">
><br class="">
> Hi Rafael,<br class="">
><br class="">
>> On Mar 21, 2016, at 3:35 PM, Rafael Espíndola via llvm-dev <<a href="mailto:llvm-dev@lists.llvm.org" class="">llvm-dev@lists.llvm.org</a>> wrote:<br class="">
>><br class="">
>><br class="">
>> On Mar 21, 2016 6:00 PM, "Lang Hames via llvm-dev" <<a href="mailto:llvm-dev@lists.llvm.org" class="">llvm-dev@lists.llvm.org</a>> wrote:<br class="">
>> ><br class="">
>> > Hi All,<br class="">
>> ><br class="">
>> > My understanding of the earlier thread is that it ended with "We agree to disagree for now, and (potentially) revisit this later".<br class="">
>> ><br class="">
>> > I'm not interested in starting any new discussions at the moment, but I want to make sure we avoid the echo chamber effect too, so: The position of the mach-o tool developers is that crashing on malformed input should be considered a bug, and to that end we're working to improve our error detection and reporting.<br class="">
>><br class="">
>> Are you guys fixing llvm to also not crash on invalid input?<br class="">
><br class="">
><br class="">
> I believe the IR verifier already complains on such cases.<br class="">
></p><p dir="ltr" class="">Not even close. Not the example in my other email.</p><div class=""><br class=""></div></div></blockquote><div><br class=""></div><div>Great example!</div><div>I believe users generating this kind of IR would prefer an error on why the code is invalid to realize what they missed in their “frontend”.</div><div><br class=""></div><div>Could you file a PR?</div><div><br class=""></div><div>Thanks,</div><div>-Quentin</div><br class=""><blockquote type="cite" class=""><div class=""><p dir="ltr" class="">Cheers,<br class="">
Rafael</p>
</div></blockquote></div><br class=""></body></html>