summaryrefslogtreecommitdiffstats
path: root/llvm/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
commit664d148a92a88890b3d33be01949210d21b55b46 (patch)
tree882d4d9064db12979fa4f0b2b425f6fed55162a0 /llvm/lib/Support/Triple.cpp
parent13dfdc88a9a22d4663d28c7319869ed597b88fbc (diff)
downloadbcm5719-llvm-664d148a92a88890b3d33be01949210d21b55b46.tar.gz
bcm5719-llvm-664d148a92a88890b3d33be01949210d21b55b46.zip
X86: Encode the 'h' cpu subtype in the MachO header for x86.
llvm-svn: 194906
Diffstat (limited to 'llvm/lib/Support/Triple.cpp')
-rw-r--r--llvm/lib/Support/Triple.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Support/Triple.cpp b/llvm/lib/Support/Triple.cpp
index d0d0e14fce5..6c978a0244b 100644
--- a/llvm/lib/Support/Triple.cpp
+++ b/llvm/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)
OpenPOWER on IntegriCloud