[Lldb-commits] [lldb] r354288 - Ah, misunderstood Jonas' feedback - fix this so we'll

Jason Molenda via lldb-commits lldb-commits at lists.llvm.org
Mon Feb 18 14:13:34 PST 2019


Author: jmolenda
Date: Mon Feb 18 14:13:34 2019
New Revision: 354288

URL: http://llvm.org/viewvc/llvm-project?rev=354288&view=rev
Log:
Ah, misunderstood Jonas' feedback - fix this so we'll
do the right thing when both API are available.  We
want to try both of them if the first one fails.

Modified:
    lldb/trunk/tools/debugserver/source/MacOSX/MachProcess.mm

Modified: lldb/trunk/tools/debugserver/source/MacOSX/MachProcess.mm
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/tools/debugserver/source/MacOSX/MachProcess.mm?rev=354288&r1=354287&r2=354288&view=diff
==============================================================================
--- lldb/trunk/tools/debugserver/source/MacOSX/MachProcess.mm (original)
+++ lldb/trunk/tools/debugserver/source/MacOSX/MachProcess.mm Mon Feb 18 14:13:34 2019
@@ -3927,7 +3927,8 @@ void MachProcess::CalculateBoardStatus()
       found_app_flavor = true;
       m_flags |= eMachProcessFlagsUsingFBS;
     }
-#elif defined(WITH_BKS)
+#endif
+#if defined(WITH_BKS)
     if (!found_app_flavor && IsBKSProcess(m_pid)) {
       found_app_flavor = true;
       m_flags |= eMachProcessFlagsUsingBKS;




More information about the lldb-commits mailing list