summaryrefslogtreecommitdiffstats
path: root/lldb/source/lldb.cpp
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2012-02-25 06:56:35 +0000
committerGreg Clayton <gclayton@apple.com>2012-02-25 06:56:35 +0000
commit722cec2957b44766879b936c0b2dfb9d2f1a5e4f (patch)
tree1b5cfb8ee61f03a39a0a6d451f0e3ac1ee9edd32 /lldb/source/lldb.cpp
parenta4d6bc9ff85fc4eb979765f3ea8bd53fa4f3496a (diff)
downloadbcm5719-llvm-722cec2957b44766879b936c0b2dfb9d2f1a5e4f.tar.gz
bcm5719-llvm-722cec2957b44766879b936c0b2dfb9d2f1a5e4f.zip
<rdar://problem/9886712>
Added a dedicated platform for the iOS simulator. This helps us to find the correct files for a simulator binary before running and helps us select the right arch (i386 only) for files when we load them. llvm-svn: 151436
Diffstat (limited to 'lldb/source/lldb.cpp')
-rw-r--r--lldb/source/lldb.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/lldb/source/lldb.cpp b/lldb/source/lldb.cpp
index d71a46bca0e..d4eb7820a00 100644
--- a/lldb/source/lldb.cpp
+++ b/lldb/source/lldb.cpp
@@ -50,6 +50,7 @@
#include "Plugins/Process/gdb-remote/ProcessGDBRemote.h"
#include "Plugins/Platform/MacOSX/PlatformMacOSX.h"
#include "Plugins/Platform/MacOSX/PlatformRemoteiOS.h"
+#include "Plugins/Platform/MacOSX/PlatformiOSSimulator.h"
#endif
#include "Plugins/Process/mach-core/ProcessMachCore.h"
@@ -125,6 +126,7 @@ lldb_private::Initialize ()
SymbolVendorMacOSX::Initialize();
PlatformMacOSX::Initialize();
PlatformRemoteiOS::Initialize();
+ PlatformiOSSimulator::Initialize();
#endif
#if defined (__linux__)
//----------------------------------------------------------------------
@@ -202,6 +204,7 @@ lldb_private::Terminate ()
SymbolVendorMacOSX::Terminate();
PlatformMacOSX::Terminate();
PlatformRemoteiOS::Terminate();
+ PlatformiOSSimulator::Terminate();
#endif
Debugger::SettingsTerminate ();
OpenPOWER on IntegriCloud