summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/Platform/MacOSX/PlatformMacOSX.cpp
diff options
context:
space:
mode:
authorJason Molenda <jmolenda@apple.com>2011-12-09 07:50:50 +0000
committerJason Molenda <jmolenda@apple.com>2011-12-09 07:50:50 +0000
commitd74db47a41ae4f92f0d22a5a930d87d3fade91f8 (patch)
tree78faa4cf053efc2cea8dd51a2ed3d76ebbe65e65 /lldb/source/Plugins/Platform/MacOSX/PlatformMacOSX.cpp
parent941aae0e9d5f360f8aa7d3382578e23ebfff8df7 (diff)
downloadbcm5719-llvm-d74db47a41ae4f92f0d22a5a930d87d3fade91f8.tar.gz
bcm5719-llvm-d74db47a41ae4f92f0d22a5a930d87d3fade91f8.zip
Move the ARM specific arch picker from PlatformRemoteiOS.cpp to
PlatformDarwin.cpp -- call it from both PlatformRemoteiOS.cpp and the native process PlatformDarwin.cpp when running on an arm system. Bump lldb version number to 94. llvm-svn: 146249
Diffstat (limited to 'lldb/source/Plugins/Platform/MacOSX/PlatformMacOSX.cpp')
-rw-r--r--lldb/source/Plugins/Platform/MacOSX/PlatformMacOSX.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/lldb/source/Plugins/Platform/MacOSX/PlatformMacOSX.cpp b/lldb/source/Plugins/Platform/MacOSX/PlatformMacOSX.cpp
index 02d662bc2bc..3a0e036f055 100644
--- a/lldb/source/Plugins/Platform/MacOSX/PlatformMacOSX.cpp
+++ b/lldb/source/Plugins/Platform/MacOSX/PlatformMacOSX.cpp
@@ -178,6 +178,10 @@ PlatformMacOSX::GetSharedModule (const FileSpec &platform_file,
bool
PlatformMacOSX::GetSupportedArchitectureAtIndex (uint32_t idx, ArchSpec &arch)
{
+#if defined (__arm__)
+ return ARMGetSupportedArchitectureAtIndex (idx, arch);
+#endif
+
if (idx == 0)
{
arch = Host::GetArchitecture (Host::eSystemDefaultArchitecture);
@@ -199,4 +203,3 @@ PlatformMacOSX::GetSupportedArchitectureAtIndex (uint32_t idx, ArchSpec &arch)
return false;
}
-
OpenPOWER on IntegriCloud