[Lldb-commits] [lldb] r299040 - Mask out EXC_SYSCALL exceptions as well.

Jason Molenda via lldb-commits lldb-commits at lists.llvm.org
Wed Mar 29 17:23:47 PDT 2017


Author: jmolenda
Date: Wed Mar 29 19:23:46 2017
New Revision: 299040

URL: http://llvm.org/viewvc/llvm-project?rev=299040&view=rev
Log:
Mask out EXC_SYSCALL exceptions as well.
<rdar://problem/31335814> 

Modified:
    lldb/trunk/tools/debugserver/source/MacOSX/MachException.cpp

Modified: lldb/trunk/tools/debugserver/source/MacOSX/MachException.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/tools/debugserver/source/MacOSX/MachException.cpp?rev=299040&r1=299039&r2=299040&view=diff
==============================================================================
--- lldb/trunk/tools/debugserver/source/MacOSX/MachException.cpp (original)
+++ lldb/trunk/tools/debugserver/source/MacOSX/MachException.cpp Wed Mar 29 19:23:46 2017
@@ -410,7 +410,7 @@ void MachException::Data::Dump() const {
 #define EXC_MASK_RESOURCE (1 << EXC_RESOURCE)
 #endif
 
-#define LLDB_EXC_MASK (EXC_MASK_ALL & ~EXC_MASK_RESOURCE)
+#define LLDB_EXC_MASK (EXC_MASK_ALL & ~EXC_MASK_RESOURCE & ~EXC_MASK_SYSCALL)
 
 kern_return_t MachException::PortInfo::Save(task_t task) {
   DNBLogThreadedIf(LOG_EXCEPTIONS | LOG_VERBOSE,




More information about the lldb-commits mailing list