summaryrefslogtreecommitdiffstats
path: root/lldb/source/Target/Process.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/Target/Process.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/Target/Process.cpp')
-rw-r--r--lldb/source/Target/Process.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Target/Process.cpp b/lldb/source/Target/Process.cpp
index 6ea3f01a6d4..e95fbf89755 100644
--- a/lldb/source/Target/Process.cpp
+++ b/lldb/source/Target/Process.cpp
@@ -2996,7 +2996,7 @@ Process::CompleteAttach ()
if (platform_sp)
{
const ArchSpec &target_arch = m_target.GetArchitecture();
- if (target_arch.IsValid() && !platform_sp->IsCompatibleArchitecture (target_arch))
+ if (target_arch.IsValid() && !platform_sp->IsCompatibleArchitecture (target_arch, false, NULL))
{
ArchSpec platform_arch;
platform_sp = platform_sp->GetPlatformForArchitecture (target_arch, &platform_arch);
OpenPOWER on IntegriCloud