summaryrefslogtreecommitdiff
path: root/lib/Support/Triple.cpp
diff options
context:
space:
mode:
authorJim Grosbach <grosbach@apple.com>2013-11-16 00:52:57 +0000
committerJim Grosbach <grosbach@apple.com>2013-11-16 00:52:57 +0000
commit35de9946d5fc01d2fed970bdcc7966bad92bdbc4 (patch)
tree7f83902af26e06269d278695f2ee8215454a65e3 /lib/Support/Triple.cpp
parent07df65cbb1d9183aa29cb17be2edaf67fbfec42a (diff)
downloadllvm-35de9946d5fc01d2fed970bdcc7966bad92bdbc4.tar.gz
llvm-35de9946d5fc01d2fed970bdcc7966bad92bdbc4.tar.bz2
llvm-35de9946d5fc01d2fed970bdcc7966bad92bdbc4.tar.xz
X86: Encode the 'h' cpu subtype in the MachO header for x86.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@194906 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support/Triple.cpp')
-rw-r--r--lib/Support/Triple.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Support/Triple.cpp b/lib/Support/Triple.cpp
index d0d0e14fce..6c978a0244 100644
--- a/lib/Support/Triple.cpp
+++ b/lib/Support/Triple.cpp
@@ -221,7 +221,7 @@ static Triple::ArchType parseArch(StringRef ArchName) {
.Cases("i386", "i486", "i586", "i686", Triple::x86)
// FIXME: Do we need to support these?
.Cases("i786", "i886", "i986", Triple::x86)
- .Cases("amd64", "x86_64", Triple::x86_64)
+ .Cases("amd64", "x86_64", "x86_64h", Triple::x86_64)
.Case("powerpc", Triple::ppc)
.Cases("powerpc64", "ppu", Triple::ppc64)
.Case("powerpc64le", Triple::ppc64le)