diff options
author | Greg Clayton <gclayton@apple.com> | 2013-01-11 20:49:54 +0000 |
---|---|---|
committer | Greg Clayton <gclayton@apple.com> | 2013-01-11 20:49:54 +0000 |
commit | 1e0c88401e36576854ca7118dd30ec512ff72cf2 (patch) | |
tree | ce8e4b6f520b342ee9fcdeac96833c4e5d591a6c /lldb/source/Target/Process.cpp | |
parent | 8d9aec88021af7bb038eb7ce183862385d9784c6 (diff) | |
download | bcm5719-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.cpp | 2 |
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); |