diff options
author | Greg Clayton <gclayton@apple.com> | 2014-07-14 22:53:02 +0000 |
---|---|---|
committer | Greg Clayton <gclayton@apple.com> | 2014-07-14 22:53:02 +0000 |
commit | 52edb364a141d50f861023fd912a16600e855719 (patch) | |
tree | e1dbf5df77f0df287a9c0043c778a98004feb690 /lldb/source/Core/ArchSpec.cpp | |
parent | 22101f968914b1cc5b7f245e303c29473a9e5480 (diff) | |
download | bcm5719-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.cpp | 9 |
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; |