[PATCH] CodeGen: terminate compilation on failure in Inline ASM

David Majnemer david.majnemer at gmail.com
Sun Jan 4 23:52:17 PST 2015


The idea is that we don't need any kind of exit at all.  The problem is
totally catchable at Sema-time; we should be giving the user a fancy
diagnostic with carets, etc.

On Sun, Jan 4, 2015 at 10:48 PM, Chandler Carruth <chandlerc at google.com>
wrote:

>
> On Sun, Jan 4, 2015 at 10:16 PM, Saleem Abdulrasool <compnerd at compnerd.org
> > wrote:
>
>> This can be handled much better at the Sema level; thanks to majnemer for
>> pointing that out.
>>
>
> It should still be an assert or llvm_report_fatal_error, or something
> other than a direct call to 'exit'.
>
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150104/7353da63/attachment.html>


More information about the cfe-commits mailing list