From bf4b7be68ee9da3cc43fedee101457140d3330cd Mon Sep 17 00:00:00 2001 From: Sean Callanan Date: Thu, 13 Dec 2012 22:07:14 +0000 Subject: Removed the == and != operators from ArchSpec, since equality can be strict or loose and we want code to explicitly choose one or the other. Also renamed the Compare function to IsEqualTo, to avoid confusion. llvm-svn: 170152 --- lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp') diff --git a/lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp b/lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp index 4d6d00755a5..926f17f6648 100644 --- a/lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp +++ b/lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp @@ -564,7 +564,7 @@ ObjectFileMachO::ParseHeader () // Check if the module has a required architecture const ArchSpec &module_arch = module_sp->GetArchitecture(); - if (module_arch.IsValid() && !module_arch.IsExactMatch(mach_arch)) + if (module_arch.IsValid() && !module_arch.IsCompatibleMatch(mach_arch)) return false; if (SetModulesArchitecture (mach_arch)) -- cgit v1.2.3