<rdar://problem/11597333>

Fixed an issue where LLDB would use armv7-apple-unknown even though armv7-unknown-unknown was specified with the target create command:

(lldb) target create -a armv7-unknown-unknown <executable>

llvm-svn: 158023
This commit is contained in:
Greg Clayton 2012-06-05 21:17:09 +00:00
parent 3da28f80e3
commit 8ae50eb4a6
1 changed files with 4 additions and 0 deletions

View File

@ -165,6 +165,10 @@ TargetList::CreateTarget
if (!platform_sp)
platform_sp = debugger.GetPlatformList().GetSelectedPlatform();
if (!arch.IsValid())
arch = specified_arch;
if (file)
{
ModuleSP exe_module_sp;