summaryrefslogtreecommitdiffstats
path: root/lldb/source/Core/ArchSpec.cpp
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2013-01-11 20:49:54 +0000
committerGreg Clayton <gclayton@apple.com>2013-01-11 20:49:54 +0000
commit1e0c88401e36576854ca7118dd30ec512ff72cf2 (patch)
treece8e4b6f520b342ee9fcdeac96833c4e5d591a6c /lldb/source/Core/ArchSpec.cpp
parent8d9aec88021af7bb038eb7ce183862385d9784c6 (diff)
downloadbcm5719-llvm-1e0c88401e36576854ca7118dd30ec512ff72cf2.tar.gz
bcm5719-llvm-1e0c88401e36576854ca7118dd30ec512ff72cf2.zip
<rdar://problem/12990038>
Fixed an issue where the platform auto select code was changing the architecture and causing the wrong architecture to be assigned to the target. llvm-svn: 172251
Diffstat (limited to 'lldb/source/Core/ArchSpec.cpp')
-rw-r--r--lldb/source/Core/ArchSpec.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Core/ArchSpec.cpp b/lldb/source/Core/ArchSpec.cpp
index e020c2107b5..476807c338e 100644
--- a/lldb/source/Core/ArchSpec.cpp
+++ b/lldb/source/Core/ArchSpec.cpp
@@ -604,7 +604,7 @@ ArchSpec::SetTriple (const char *triple_cstr, Platform *platform)
// architecture. If this is not available (might not be
// connected) use the first supported architecture.
ArchSpec compatible_arch;
- if (platform->IsCompatibleArchitecture (raw_arch, &compatible_arch))
+ if (platform->IsCompatibleArchitecture (raw_arch, false, &compatible_arch))
{
if (compatible_arch.IsValid())
{
OpenPOWER on IntegriCloud