mirror of
https://github.com/intel/llvm.git
synced 2026-01-22 06:19:46 +08:00
<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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user