Author: ovyalov Date: Fri May 29 17:45:47 2015 New Revision: 238623 URL: http://llvm.org/viewvc/llvm-project?rev=238623&view=rev Log: Leave OS type and vendor as unspecified unknowns.
http://reviews.llvm.org/D10080 Modified: lldb/trunk/source/Core/ArchSpec.cpp Modified: lldb/trunk/source/Core/ArchSpec.cpp URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Core/ArchSpec.cpp?rev=238623&r1=238622&r2=238623&view=diff ============================================================================== --- lldb/trunk/source/Core/ArchSpec.cpp (original) +++ lldb/trunk/source/Core/ArchSpec.cpp Fri May 29 17:45:47 2015 @@ -861,7 +861,6 @@ ArchSpec::SetArchitecture (ArchitectureT if (arch_type == eArchTypeMachO) { m_triple.setVendor (llvm::Triple::Apple); - switch (core_def->machine) { case llvm::Triple::aarch64: @@ -886,11 +885,6 @@ ArchSpec::SetArchitecture (ArchitectureT break; } } - else - { - m_triple.setVendor (llvm::Triple::UnknownVendor); - m_triple.setOS (llvm::Triple::UnknownOS); - } // Fall back onto setting the machine type if the arch by name failed... if (m_triple.getArch () == llvm::Triple::UnknownArch) m_triple.setArch (core_def->machine); _______________________________________________ lldb-commits mailing list lldb-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/lldb-commits