summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSean Callanan <scallanan@apple.com>2012-12-14 23:43:03 +0000
committerSean Callanan <scallanan@apple.com>2012-12-14 23:43:03 +0000
commit7038627168697cadddd36e06ebeb38a4d4fef84d (patch)
treefc1334d3d69343d66e391370bd52826dc2480d49
parent06aa3eb8cebb2878a862f30638f6279c40c1a719 (diff)
downloadbcm5719-llvm-7038627168697cadddd36e06ebeb38a4d4fef84d.tar.gz
bcm5719-llvm-7038627168697cadddd36e06ebeb38a4d4fef84d.zip
Fixed two conditionals that I accidentally
reversed in r170152. <rdar://problem/12886584> llvm-svn: 170256
-rw-r--r--lldb/source/Host/macosx/Symbols.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/source/Host/macosx/Symbols.cpp b/lldb/source/Host/macosx/Symbols.cpp
index e696d2782c8..b102a4bcd9c 100644
--- a/lldb/source/Host/macosx/Symbols.cpp
+++ b/lldb/source/Host/macosx/Symbols.cpp
@@ -83,7 +83,7 @@ SkinnyMachOFileContainsArchAndUUID
{
ArchSpec file_arch(eArchTypeMachO, cputype, cpusubtype);
- if (file_arch.IsCompatibleMatch(*arch))
+ if (!file_arch.IsCompatibleMatch(*arch))
return false;
}
@@ -181,7 +181,7 @@ UniversalMachOFileContainsArchAndUUID
if (arch)
{
ArchSpec fat_arch(eArchTypeMachO, arch_cputype, arch_cpusubtype);
- if (fat_arch.IsCompatibleMatch(*arch))
+ if (!fat_arch.IsCompatibleMatch(*arch))
continue;
}
OpenPOWER on IntegriCloud