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:
Jim Ingham 2014-06-17 21:02:44 +00:00
parent aeddd8bb19
commit 0c7ebe9609
1 changed files with 1 additions and 8 deletions

View File

@ -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)