[PATCH] Add warning capabilities in LLVM (backend part), Take 2

Philip Reames listmail at philipreames.com
Tue Dec 10 16:51:09 PST 2013


On 12/10/13 4:43 PM, Reid Kleckner wrote:
> On Tue, Dec 10, 2013 at 4:31 PM, Quentin Colombet <qcolombet at apple.com 
> <mailto:qcolombet at apple.com>> wrote:
>
>     - Do we want to extend that to fatal error as well?
>     That would be a nice homogenization of the framework (replace
>     (some of) the calls to report_fatal_error).
>
>
> This should definitely be used for things like "ran out of registers 
> for inline asm".  That should only fail the current function codegen 
> for something like MCJIT, and not exit the process.
I strongly support Reid's stated objective of replacing fatal events 
with clean error exits where possible.

Philip
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20131210/235265ab/attachment.html>


More information about the llvm-commits mailing list