[Lldb-commits] [lldb] r170256 - /lldb/trunk/source/Host/macosx/Symbols.cpp

Sean Callanan scallanan at apple.com
Fri Dec 14 15:43:04 PST 2012


Author: spyffe
Date: Fri Dec 14 17:43:03 2012
New Revision: 170256

URL: http://llvm.org/viewvc/llvm-project?rev=170256&view=rev
Log:
Fixed two conditionals that I accidentally
reversed in r170152.

<rdar://problem/12886584>

Modified:
    lldb/trunk/source/Host/macosx/Symbols.cpp

Modified: lldb/trunk/source/Host/macosx/Symbols.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Host/macosx/Symbols.cpp?rev=170256&r1=170255&r2=170256&view=diff
==============================================================================
--- lldb/trunk/source/Host/macosx/Symbols.cpp (original)
+++ lldb/trunk/source/Host/macosx/Symbols.cpp Fri Dec 14 17:43:03 2012
@@ -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;
         }
 





More information about the lldb-commits mailing list