[llvm] r210895 - [Win32] Let utils/not aware of abort(), aka llvm_unreachable(), in msvcrt.

Reid Kleckner rnk at google.com
Mon Jun 23 15:27:49 PDT 2014


On Mon, Jun 23, 2014 at 2:48 PM, NAKAMURA Takumi <geek4civic at gmail.com>
wrote:

> I didn't notice that utils/not would execute out-of-tree tools.
> Could you update utils/not if it would work for you?
>   s/if (Result == 3)/if (ExpectCrash && Result == 3)/
>
> I intended "not --crash" would catch abort().
> Let me know if you knew better ways.
>

That seems like it'd work.  The downside is that now 'not llvm-stuff ...'
will exit successfully if llvm-stuff crashes with abort(), but that was
already the status quo, and I can live with it.  Thanks for the help!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140623/74896937/attachment.html>


More information about the llvm-commits mailing list