diff options
author | Sean Callanan <scallanan@apple.com> | 2012-12-13 22:07:14 +0000 |
---|---|---|
committer | Sean Callanan <scallanan@apple.com> | 2012-12-13 22:07:14 +0000 |
commit | bf4b7be68ee9da3cc43fedee101457140d3330cd (patch) | |
tree | 504cacce4cac1112fd46c89a9e5f39a3d3c232e4 /lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp | |
parent | 3960540e305dd27dc20e5e038f499149ddf5c4db (diff) | |
download | bcm5719-llvm-bf4b7be68ee9da3cc43fedee101457140d3330cd.tar.gz bcm5719-llvm-bf4b7be68ee9da3cc43fedee101457140d3330cd.zip |
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.
<rdar://problem/12856749>
llvm-svn: 170152
Diffstat (limited to 'lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp')
-rw-r--r-- | lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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)) |