diff options
author | Pavel Labath <labath@google.com> | 2017-10-31 11:48:33 +0000 |
---|---|---|
committer | Pavel Labath <labath@google.com> | 2017-10-31 11:48:33 +0000 |
commit | e4435642912b3e73e3bfc3addc208636b4baa005 (patch) | |
tree | d8cce81266621f3be79aad803ef258641b525f56 /lldb/source/Plugins | |
parent | 25589e2a55acc7479366883fcb07059bfec8b9eb (diff) | |
download | bcm5719-llvm-e4435642912b3e73e3bfc3addc208636b4baa005.tar.gz bcm5719-llvm-e4435642912b3e73e3bfc3addc208636b4baa005.zip |
Fix mac build broken in r316987
Forgot one occurence of ArchSpec::SetTriple in mac-specific code.
llvm-svn: 316990
Diffstat (limited to 'lldb/source/Plugins')
-rw-r--r-- | lldb/source/Plugins/Process/mach-core/ProcessMachCore.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Plugins/Process/mach-core/ProcessMachCore.cpp b/lldb/source/Plugins/Process/mach-core/ProcessMachCore.cpp index a6178500dfc..d21651b77ee 100644 --- a/lldb/source/Plugins/Process/mach-core/ProcessMachCore.cpp +++ b/lldb/source/Plugins/Process/mach-core/ProcessMachCore.cpp @@ -468,7 +468,7 @@ Status ProcessMachCore::DoLoadCore() { // it to match the core file which is always single arch. ArchSpec arch(m_core_module_sp->GetArchitecture()); if (arch.GetCore() == ArchSpec::eCore_x86_32_i486) { - arch.SetTriple("i386", GetTarget().GetPlatform().get()); + arch = Platform::GetAugmentedArchSpec(GetTarget().GetPlatform().get(), "i386"); } if (arch.IsValid()) GetTarget().SetArchitecture(arch); |