summaryrefslogtreecommitdiffstats
path: root/lldb/source/Core/ArchSpec.cpp
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2014-07-14 22:53:02 +0000
committerGreg Clayton <gclayton@apple.com>2014-07-14 22:53:02 +0000
commit52edb364a141d50f861023fd912a16600e855719 (patch)
treee1dbf5df77f0df287a9c0043c778a98004feb690 /lldb/source/Core/ArchSpec.cpp
parent22101f968914b1cc5b7f245e303c29473a9e5480 (diff)
downloadbcm5719-llvm-52edb364a141d50f861023fd912a16600e855719.tar.gz
bcm5719-llvm-52edb364a141d50f861023fd912a16600e855719.zip
lldb.LLDB_ARCH_DEFAULT now works correctly on Macs with haswell enabled kernels.
<rdar://problem/17604133> llvm-svn: 213004
Diffstat (limited to 'lldb/source/Core/ArchSpec.cpp')
-rw-r--r--lldb/source/Core/ArchSpec.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/lldb/source/Core/ArchSpec.cpp b/lldb/source/Core/ArchSpec.cpp
index bfe8b62f5eb..ea7f3a46d6c 100644
--- a/lldb/source/Core/ArchSpec.cpp
+++ b/lldb/source/Core/ArchSpec.cpp
@@ -962,6 +962,15 @@ cores_match (const ArchSpec::Core core1, const ArchSpec::Core core2, bool try_in
try_inverse = false;
}
break;
+
+ case ArchSpec::eCore_x86_64_x86_64h:
+ if (!enforce_exact_match)
+ {
+ try_inverse = false;
+ if (core2 == ArchSpec::eCore_x86_64_x86_64)
+ return true;
+ }
+ break;
default:
break;
OpenPOWER on IntegriCloud