Fix ArchSpec::operator== to take the Triple into account as well as the Core. Also make the constructors explicit.
git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@139761 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/include/lldb/Core/ArchSpec.h b/include/lldb/Core/ArchSpec.h
index 60e8233..1bcd05c 100644
--- a/include/lldb/Core/ArchSpec.h
+++ b/include/lldb/Core/ArchSpec.h
@@ -112,7 +112,9 @@
/// Constructs an ArchSpec with properties consistent with the given
/// Triple.
//------------------------------------------------------------------
+ explicit
ArchSpec (const llvm::Triple &triple);
+ explicit
ArchSpec (const char *triple_cstr, Platform *platform);
//------------------------------------------------------------------
/// Constructor over architecture name.
@@ -120,6 +122,7 @@
/// Constructs an ArchSpec with properties consistent with the given
/// object type and architecture name.
//------------------------------------------------------------------
+ explicit
ArchSpec (ArchitectureType arch_type,
uint32_t cpu_type,
uint32_t cpu_subtype);