summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/Platform/MacOSX/PlatformDarwin.cpp
diff options
context:
space:
mode:
authorJason Molenda <jmolenda@apple.com>2017-04-17 22:52:20 +0000
committerJason Molenda <jmolenda@apple.com>2017-04-17 22:52:20 +0000
commit1781d6f732684fa4c1539082cd8f59c44720a377 (patch)
treee7d91e5fedec2f98fbcb6e964b408b77c91c659e /lldb/source/Plugins/Platform/MacOSX/PlatformDarwin.cpp
parent47ee0f4d3162af16a6f6d951f30d66c3fb8de50c (diff)
downloadbcm5719-llvm-1781d6f732684fa4c1539082cd8f59c44720a377.tar.gz
bcm5719-llvm-1781d6f732684fa4c1539082cd8f59c44720a377.zip
Unify the common code in the ios, tvos, watchos platforms into a single
PlatformRemoveDarwinDevice class, subclassed to those three so they can provide their specific information. <rdar://problem/30159764> llvm-svn: 300512
Diffstat (limited to 'lldb/source/Plugins/Platform/MacOSX/PlatformDarwin.cpp')
-rw-r--r--lldb/source/Plugins/Platform/MacOSX/PlatformDarwin.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/lldb/source/Plugins/Platform/MacOSX/PlatformDarwin.cpp b/lldb/source/Plugins/Platform/MacOSX/PlatformDarwin.cpp
index 7c90f87189a..02459045869 100644
--- a/lldb/source/Plugins/Platform/MacOSX/PlatformDarwin.cpp
+++ b/lldb/source/Plugins/Platform/MacOSX/PlatformDarwin.cpp
@@ -569,6 +569,8 @@ bool PlatformDarwin::ARMGetSupportedArchitectureAtIndex(uint32_t idx,
#define OSNAME "tvos"
#elif defined(TARGET_OS_WATCH) && TARGET_OS_WATCH == 1
#define OSNAME "watchos"
+#elif defined(TARGET_OS_BRIDGE) && TARGET_OS_BRIDGE == 1
+#define OSNAME "bridgeos"
#else
#define OSNAME "ios"
#endif
OpenPOWER on IntegriCloud