summaryrefslogtreecommitdiffstats
path: root/lldb/source/API/SBDebugger.cpp
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2012-05-08 01:45:38 +0000
committerGreg Clayton <gclayton@apple.com>2012-05-08 01:45:38 +0000
commit7051231709ac438a59b5b4577b93511584885794 (patch)
tree72e0e2af6ce771c65dd9171220075b812ae95f31 /lldb/source/API/SBDebugger.cpp
parentd6560a6384b9dc3c3e7189a60c117b2f0b5c0985 (diff)
downloadbcm5719-llvm-7051231709ac438a59b5b4577b93511584885794.tar.gz
bcm5719-llvm-7051231709ac438a59b5b4577b93511584885794.zip
<rdar://problem/11358639>
Switch over to the "*-apple-macosx" for desktop and "*-apple-ios" for iOS triples. Also make the selection process for auto selecting platforms based off of an arch much better. llvm-svn: 156354
Diffstat (limited to 'lldb/source/API/SBDebugger.cpp')
-rw-r--r--lldb/source/API/SBDebugger.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/API/SBDebugger.cpp b/lldb/source/API/SBDebugger.cpp
index 46d5118ef51..8eea87af239 100644
--- a/lldb/source/API/SBDebugger.cpp
+++ b/lldb/source/API/SBDebugger.cpp
@@ -435,7 +435,7 @@ SBDebugger::SetDefaultArchitecture (const char *arch_name)
{
if (arch_name)
{
- ArchSpec arch (arch_name, NULL);
+ ArchSpec arch (arch_name);
if (arch.IsValid())
{
Target::SetDefaultArchitecture (arch);
OpenPOWER on IntegriCloud