summaryrefslogtreecommitdiffstats
path: root/lldb/source/Core/ArchSpec.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/source/Core/ArchSpec.cpp')
-rw-r--r--lldb/source/Core/ArchSpec.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Core/ArchSpec.cpp b/lldb/source/Core/ArchSpec.cpp
index 790c2ebb6e5..9f5e651c41f 100644
--- a/lldb/source/Core/ArchSpec.cpp
+++ b/lldb/source/Core/ArchSpec.cpp
@@ -457,7 +457,7 @@ ArchSpec::SetTriple (const llvm::Triple &triple)
bool
ArchSpec::SetTriple (const char *triple_cstr, Platform *platform)
{
- if (triple_cstr && !triple_cstr[0])
+ if (triple_cstr && triple_cstr[0])
{
llvm::StringRef triple_stref (triple_cstr);
if (triple_stref.startswith (LLDB_ARCH_DEFAULT))
OpenPOWER on IntegriCloud