Fixed a bug where we could accept the wrong
slice of a fat dSYM in certain cases.
<rdar://problem/12921206>
git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@170926 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/source/Host/macosx/Symbols.cpp b/source/Host/macosx/Symbols.cpp
index b102a4b..03ce57e 100644
--- a/source/Host/macosx/Symbols.cpp
+++ b/source/Host/macosx/Symbols.cpp
@@ -181,7 +181,7 @@
if (arch)
{
ArchSpec fat_arch(eArchTypeMachO, arch_cputype, arch_cpusubtype);
- if (!fat_arch.IsCompatibleMatch(*arch))
+ if (!fat_arch.IsExactMatch(*arch))
continue;
}