diff options
author | Jason Molenda <jmolenda@apple.com> | 2019-02-18 22:18:11 +0000 |
---|---|---|
committer | Jason Molenda <jmolenda@apple.com> | 2019-02-18 22:18:11 +0000 |
commit | 461c4168787b595dcd4e7e86c4ed0313b8b04bf7 (patch) | |
tree | 396114eb954930bcef013ed04d0ab3f6a1259766 /lldb/tools/debugserver/source | |
parent | 870c0a648b5192fd01ed6ce270c395f108d02434 (diff) | |
download | bcm5719-llvm-461c4168787b595dcd4e7e86c4ed0313b8b04bf7.tar.gz bcm5719-llvm-461c4168787b595dcd4e7e86c4ed0313b8b04bf7.zip |
One more fix while I'm looking at this - remove the
unused IsSBProcess method, and have IsFBSProcess
return false if we don't have API that we can use to
make that determination, so we'll try other API
if we can.
llvm-svn: 354289
Diffstat (limited to 'lldb/tools/debugserver/source')
-rw-r--r-- | lldb/tools/debugserver/source/MacOSX/MachProcess.mm | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/lldb/tools/debugserver/source/MacOSX/MachProcess.mm b/lldb/tools/debugserver/source/MacOSX/MachProcess.mm index 7aa3ec36aab..ca68339d782 100644 --- a/lldb/tools/debugserver/source/MacOSX/MachProcess.mm +++ b/lldb/tools/debugserver/source/MacOSX/MachProcess.mm @@ -50,12 +50,6 @@ #include <SpringBoardServices/SBSWatchdogAssertion.h> #include <SpringBoardServices/SpringBoardServer.h> -static bool IsSBProcess(nub_process_t pid) { - CFReleaser<CFArrayRef> appIdsForPID( - ::SBSCopyDisplayIdentifiersForProcessID(pid)); - return appIdsForPID.get() != NULL; -} - #endif // WITH_SPRINGBOARD #if defined(WITH_SPRINGBOARD) || defined(WITH_BKS) || defined(WITH_FBS) @@ -333,7 +327,7 @@ static bool IsFBSProcess(nub_process_t pid) { #else static bool IsFBSProcess(nub_process_t pid) { // FIXME: What is the FBS equivalent of BKSApplicationStateMonitor - return true; + return false; } #endif |