forked from OSchip/llvm-project
<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:
parent
3da28f80e3
commit
8ae50eb4a6
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue