diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2017-12-18 20:12:36 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2017-12-18 20:12:36 +0000 |
commit | ef5d0b5e97ec8e6fa395d377b09aa7755e345b4f (patch) | |
tree | 27916256fdeeb57d10d2f3d6948be5d71a703215 /source/Commands/CommandObjectDisassemble.cpp | |
parent | 76e0736e7fcfeb179779e49c05604464b1ccd704 (diff) |
Notes
Diffstat (limited to 'source/Commands/CommandObjectDisassemble.cpp')
-rw-r--r-- | source/Commands/CommandObjectDisassemble.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source/Commands/CommandObjectDisassemble.cpp b/source/Commands/CommandObjectDisassemble.cpp index 5d0f2417f992..31c54b7d433b 100644 --- a/source/Commands/CommandObjectDisassemble.cpp +++ b/source/Commands/CommandObjectDisassemble.cpp @@ -163,8 +163,7 @@ Status CommandObjectDisassemble::CommandOptions::SetOptionValue( auto target_sp = execution_context ? execution_context->GetTargetSP() : TargetSP(); auto platform_sp = target_sp ? target_sp->GetPlatform() : PlatformSP(); - if (!arch.SetTriple(option_arg, platform_sp.get())) - arch.SetTriple(option_arg); + arch = Platform::GetAugmentedArchSpec(platform_sp.get(), option_arg); } break; |