Fixed two conditionals that I accidentally
reversed in r170152.
<rdar://problem/12886584>
git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@170256 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/source/Host/macosx/Symbols.cpp b/source/Host/macosx/Symbols.cpp
index e696d27..b102a4b 100644
--- a/source/Host/macosx/Symbols.cpp
+++ b/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;
}