aboutsummaryrefslogtreecommitdiffstats
path: root/include
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 /include
parent07df65cbb1d9183aa29cb17be2edaf67fbfec42a (diff)
downloadexternal_llvm-35de9946d5fc01d2fed970bdcc7966bad92bdbc4.zip
external_llvm-35de9946d5fc01d2fed970bdcc7966bad92bdbc4.tar.gz
external_llvm-35de9946d5fc01d2fed970bdcc7966bad92bdbc4.tar.bz2
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 'include')
-rw-r--r--include/llvm/Support/MachO.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/llvm/Support/MachO.h b/include/llvm/Support/MachO.h
index dcf9e42..897a611 100644
--- a/include/llvm/Support/MachO.h
+++ b/include/llvm/Support/MachO.h
@@ -948,7 +948,8 @@ namespace llvm {
CPU_SUBTYPE_X86_ALL = 3,
CPU_SUBTYPE_X86_64_ALL = 3,
- CPU_SUBTYPE_X86_ARCH1 = 4
+ CPU_SUBTYPE_X86_ARCH1 = 4,
+ CPU_SUBTYPE_X86_64_H = 8
};
static inline int CPU_SUBTYPE_INTEL(int Family, int Model) {
return Family | (Model << 4);