forked from OSchip/llvm-project
Those were not the right defines for memory errors, and the right defines aren't
available. So going back to a generic error instead. <rdar://problem/17058708> llvm-svn: 211124
This commit is contained in:
parent
aeddd8bb19
commit
0c7ebe9609
|
@ -210,14 +210,7 @@ kqueue_thread (void *arg)
|
|||
if (exited)
|
||||
{
|
||||
if (death_event.data & NOTE_EXIT_MEMORY)
|
||||
{
|
||||
if (death_event.data & NOTE_VM_PRESSURE)
|
||||
DNBProcessSetExitInfo (child_pid, "Terminated due to Memory Pressure");
|
||||
else if (death_event.data & NOTE_VM_ERROR)
|
||||
DNBProcessSetExitInfo (child_pid, "Terminated due to Memory Error");
|
||||
else
|
||||
DNBProcessSetExitInfo (child_pid, "Terminated due to unknown Memory condition");
|
||||
}
|
||||
DNBProcessSetExitInfo (child_pid, "Terminated due to memory issue");
|
||||
else if (death_event.data & NOTE_EXIT_DECRYPTFAIL)
|
||||
DNBProcessSetExitInfo (child_pid, "Terminated due to decrypt failure");
|
||||
else if (death_event.data & NOTE_EXIT_CSERROR)
|
||||
|
|
Loading…
Reference in New Issue