aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Commands/CommandObjectPlatform.cpp
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2012-03-20 18:34:04 +0000
committerGreg Clayton <gclayton@apple.com>2012-03-20 18:34:04 +0000
commitb3a40ba812cde1ab2571754a97d19215645271ff (patch)
tree2009e24d3e69bb5dc099eee6845a9220a24d3593 /lldb/source/Commands/CommandObjectPlatform.cpp
parent5a6011267adb5770cde18c7807b64baccd7587ad (diff)
downloadllvm-b3a40ba812cde1ab2571754a97d19215645271ff.zip
llvm-b3a40ba812cde1ab2571754a97d19215645271ff.tar.gz
llvm-b3a40ba812cde1ab2571754a97d19215645271ff.tar.bz2
Platforms can now auto-select themselves if you specify a full target triple when doing a "target create" command.
Each platform now knows if it can handle an architecture and a platform can be found using an architecture. Each platform can look at the arch, vendor and OS and know if it should be used or not. llvm-svn: 153104
Diffstat (limited to 'lldb/source/Commands/CommandObjectPlatform.cpp')
-rw-r--r--lldb/source/Commands/CommandObjectPlatform.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Commands/CommandObjectPlatform.cpp b/lldb/source/Commands/CommandObjectPlatform.cpp
index 855d8fb..9618c6c 100644
--- a/lldb/source/Commands/CommandObjectPlatform.cpp
+++ b/lldb/source/Commands/CommandObjectPlatform.cpp
@@ -63,7 +63,7 @@ public:
const bool select = true;
m_platform_options.SetPlatformName (platform_name);
Error error;
- PlatformSP platform_sp (m_platform_options.CreatePlatformWithOptions (m_interpreter, select, error));
+ PlatformSP platform_sp (m_platform_options.CreatePlatformWithOptions (m_interpreter, ArchSpec(), select, error));
if (platform_sp)
{
platform_sp->GetStatus (result.GetOutputStream());