From a814f704d33a7137cff0345ed81aaa59408d2d19 Mon Sep 17 00:00:00 2001 From: Jason Molenda Date: Thu, 5 Nov 2015 23:03:44 +0000 Subject: 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 --- lldb/source/Plugins/SystemRuntime/MacOSX/SystemRuntimeMacOSX.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lldb/source/Plugins/SystemRuntime/MacOSX/SystemRuntimeMacOSX.cpp') 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: -- cgit v1.2.3