summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/Platform/FreeBSD/PlatformFreeBSD.cpp
diff options
context:
space:
mode:
authorSean Callanan <scallanan@apple.com>2012-12-13 22:07:14 +0000
committerSean Callanan <scallanan@apple.com>2012-12-13 22:07:14 +0000
commitbf4b7be68ee9da3cc43fedee101457140d3330cd (patch)
tree504cacce4cac1112fd46c89a9e5f39a3d3c232e4 /lldb/source/Plugins/Platform/FreeBSD/PlatformFreeBSD.cpp
parent3960540e305dd27dc20e5e038f499149ddf5c4db (diff)
downloadbcm5719-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/Platform/FreeBSD/PlatformFreeBSD.cpp')
-rw-r--r--lldb/source/Plugins/Platform/FreeBSD/PlatformFreeBSD.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Plugins/Platform/FreeBSD/PlatformFreeBSD.cpp b/lldb/source/Plugins/Platform/FreeBSD/PlatformFreeBSD.cpp
index db9c079f1c1..f6cd4c2c684 100644
--- a/lldb/source/Plugins/Platform/FreeBSD/PlatformFreeBSD.cpp
+++ b/lldb/source/Plugins/Platform/FreeBSD/PlatformFreeBSD.cpp
@@ -630,7 +630,7 @@ PlatformFreeBSD::GetSupportedArchitectureAtIndex (uint32_t idx, ArchSpec &arch)
{
ArchSpec platform_arch (Host::GetArchitecture (Host::eSystemDefaultArchitecture));
ArchSpec platform_arch64 (Host::GetArchitecture (Host::eSystemDefaultArchitecture64));
- if (platform_arch == platform_arch64)
+ if (platform_arch.IsExactMatch(platform_arch64))
{
// This freebsd platform supports both 32 and 64 bit. Since we already
// returned the 64 bit arch for idx == 0, return the 32 bit arch
OpenPOWER on IntegriCloud