diff options
Diffstat (limited to 'lldb/source/Target/TargetList.cpp')
| -rw-r--r-- | lldb/source/Target/TargetList.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lldb/source/Target/TargetList.cpp b/lldb/source/Target/TargetList.cpp index 3aaa77925e2..34abd43e0a6 100644 --- a/lldb/source/Target/TargetList.cpp +++ b/lldb/source/Target/TargetList.cpp @@ -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; |

