[Patch] Make errors and crashes distinct even with LLVM_DISABLE_CRASH_REPORT

Joerg Sonnenberger joerg at britannica.bec.de
Thu Jul 25 10:15:02 PDT 2013


On Thu, Jul 25, 2013 at 12:40:38PM -0400, Rafael EspĂ­ndola wrote:
> I have attached a log showing the difference I get in one problematic
> test (badpch.c). The lest invasive fix would probably be to change
> 
>  _exit(3);
> 
> to
>  _exit(-3);
> 
> but we would still be trowing away a bit of information.

Please don't use an exit status outside 0..255.

Joerg



More information about the llvm-commits mailing list