summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/SystemRuntime/MacOSX/SystemRuntimeMacOSX.cpp
diff options
context:
space:
mode:
authorJason Molenda <jmolenda@apple.com>2015-11-05 23:03:44 +0000
committerJason Molenda <jmolenda@apple.com>2015-11-05 23:03:44 +0000
commita814f704d33a7137cff0345ed81aaa59408d2d19 (patch)
tree292c8e923050063bd001cceddcb4796a40db15f7 /lldb/source/Plugins/SystemRuntime/MacOSX/SystemRuntimeMacOSX.cpp
parent12ec50553f2444bc04ce9978cdb33eae9585a122 (diff)
downloadbcm5719-llvm-a814f704d33a7137cff0345ed81aaa59408d2d19.tar.gz
bcm5719-llvm-a814f704d33a7137cff0345ed81aaa59408d2d19.zip
Add support for the new (added last week) llvm::Triple::WatchOS and ::TvOS
in places where we check for Triple::IOS. They're mostly the same as far as lldb is conerned. . Also add a base cass implementation for Process::IsAlive - Greg added this last year but it didn't get upstreamed. llvm-svn: 252227
Diffstat (limited to 'lldb/source/Plugins/SystemRuntime/MacOSX/SystemRuntimeMacOSX.cpp')
-rw-r--r--lldb/source/Plugins/SystemRuntime/MacOSX/SystemRuntimeMacOSX.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/lldb/source/Plugins/SystemRuntime/MacOSX/SystemRuntimeMacOSX.cpp b/lldb/source/Plugins/SystemRuntime/MacOSX/SystemRuntimeMacOSX.cpp
index 2e0466cc1bc..b11a0676032 100644
--- a/lldb/source/Plugins/SystemRuntime/MacOSX/SystemRuntimeMacOSX.cpp
+++ b/lldb/source/Plugins/SystemRuntime/MacOSX/SystemRuntimeMacOSX.cpp
@@ -64,6 +64,8 @@ SystemRuntimeMacOSX::CreateInstance (Process* process)
case llvm::Triple::Darwin:
case llvm::Triple::MacOSX:
case llvm::Triple::IOS:
+ case llvm::Triple::TvOS:
+ case llvm::Triple::WatchOS:
create = triple_ref.getVendor() == llvm::Triple::Apple;
break;
default:
OpenPOWER on IntegriCloud