[Lldb-commits] [lldb] f60de4c - Except, get the TARGET_OS_OSX check correct.
Jason Molenda via lldb-commits
lldb-commits at lists.llvm.org
Thu Feb 6 20:29:05 PST 2020
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;
More information about the lldb-commits
mailing list