summaryrefslogtreecommitdiffstats
path: root/lldb/tools/debugserver/source/MacOSX/MachException.cpp
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2016-05-12 22:36:47 +0000
committerGreg Clayton <gclayton@apple.com>2016-05-12 22:36:47 +0000
commit1059a067f9936f76fac2ad20d184481505cfd8ac (patch)
tree335c9ec85a06bf29afe4d2a71ecccf6d02086d05 /lldb/tools/debugserver/source/MacOSX/MachException.cpp
parentff8e6a763f5238b80b8c57b6f36628b8975cdcd2 (diff)
downloadbcm5719-llvm-1059a067f9936f76fac2ad20d184481505cfd8ac.tar.gz
bcm5719-llvm-1059a067f9936f76fac2ad20d184481505cfd8ac.zip
Don't crash when a process' task port goes bad.
<rdar://problem/26256049> llvm-svn: 269373
Diffstat (limited to 'lldb/tools/debugserver/source/MacOSX/MachException.cpp')
-rw-r--r--lldb/tools/debugserver/source/MacOSX/MachException.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/lldb/tools/debugserver/source/MacOSX/MachException.cpp b/lldb/tools/debugserver/source/MacOSX/MachException.cpp
index b7245796ae4..0b5459e3a18 100644
--- a/lldb/tools/debugserver/source/MacOSX/MachException.cpp
+++ b/lldb/tools/debugserver/source/MacOSX/MachException.cpp
@@ -436,7 +436,6 @@ MachException::Message::Reply(MachProcess *process, int signal)
if (state.task_port == process->Task().TaskPort())
{
DNBLogThreaded("error: mach_msg() returned an error when replying to a mach exception: error = %u", err.Error());
- abort ();
}
else
{
OpenPOWER on IntegriCloud