diff --git a/lldb/source/Utility/ArchSpec.cpp b/lldb/source/Utility/ArchSpec.cpp --- a/lldb/source/Utility/ArchSpec.cpp +++ b/lldb/source/Utility/ArchSpec.cpp @@ -1426,7 +1426,8 @@ if ((user_specified_triple.getVendor() != llvm::Triple::UnknownVendor) || TripleVendorWasSpecified()) { const unsigned unspecified = 0; - if (user_specified_triple.getOSMajorVersion() != unspecified) { + if (!user_specified_triple.isOSDarwin() || + user_specified_triple.getOSMajorVersion() != unspecified) { user_triple_fully_specified = true; } }