Fixed two conditionals that I accidentally
reversed in r170152.
<rdar://problem/12886584>
llvm-svn: 170256
diff --git a/lldb/source/Host/macosx/Symbols.cpp b/lldb/source/Host/macosx/Symbols.cpp
index e696d27..b102a4b 100644
--- a/lldb/source/Host/macosx/Symbols.cpp
+++ b/lldb/source/Host/macosx/Symbols.cpp
@@ -83,7 +83,7 @@
{
ArchSpec file_arch(eArchTypeMachO, cputype, cpusubtype);
- if (file_arch.IsCompatibleMatch(*arch))
+ if (!file_arch.IsCompatibleMatch(*arch))
return false;
}
@@ -181,7 +181,7 @@
if (arch)
{
ArchSpec fat_arch(eArchTypeMachO, arch_cputype, arch_cpusubtype);
- if (fat_arch.IsCompatibleMatch(*arch))
+ if (!fat_arch.IsCompatibleMatch(*arch))
continue;
}