Author: Jason Molenda
Date: 2020-02-06T20:28:40-08:00
New Revision: f60de4cdf7b8ca1b22700a6325a61a9b0da6a54b

URL: 
https://github.com/llvm/llvm-project/commit/f60de4cdf7b8ca1b22700a6325a61a9b0da6a54b
DIFF: 
https://github.com/llvm/llvm-project/commit/f60de4cdf7b8ca1b22700a6325a61a9b0da6a54b.diff

LOG: Except, get the TARGET_OS_OSX check correct.

Added: 
    

Modified: 
    lldb/tools/debugserver/source/RNBRemote.cpp

Removed: 
    


################################################################################
diff  --git a/lldb/tools/debugserver/source/RNBRemote.cpp 
b/lldb/tools/debugserver/source/RNBRemote.cpp
index 0eba6d5358d5..b4dd9031eb67 100644
--- a/lldb/tools/debugserver/source/RNBRemote.cpp
+++ b/lldb/tools/debugserver/source/RNBRemote.cpp
@@ -3766,7 +3766,7 @@ static bool login_session_has_gui_access () {
 // $ security authorizationdb read system.privilege.taskport.debug
 
 static bool developer_mode_enabled () {
-#if TARGET_OS_OSX == 1
+#if TARGET_OS_OSX == 0
   return true;
 #else
  CFDictionaryRef currentRightDict = NULL;


        
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to