[PATCH] D58636: [BinaryFormat] Update Mach-O ARM64 CPU subtypes
Shoaib Meenai via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Feb 25 10:04:06 PST 2019
smeenai created this revision.
smeenai added reviewers: lhames, mtrent.
Herald added a subscriber: kristof.beyls.
Herald added a project: LLVM.
The new values are taken from <mach/machine.h> in the MacOSX10.14 SDK
from Xcode 10.1.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D58636
Files:
llvm/include/llvm/BinaryFormat/MachO.h
Index: llvm/include/llvm/BinaryFormat/MachO.h
===================================================================
--- llvm/include/llvm/BinaryFormat/MachO.h
+++ llvm/include/llvm/BinaryFormat/MachO.h
@@ -1477,7 +1477,11 @@
CPU_SUBTYPE_ARM_V7EM = 16
};
-enum CPUSubTypeARM64 { CPU_SUBTYPE_ARM64_ALL = 0 };
+enum CPUSubTypeARM64 {
+ CPU_SUBTYPE_ARM64_ALL = 0,
+ CPU_SUBTYPE_ARM64_V8 = 1,
+ CPU_SUBTYPE_ARM64E = 2,
+};
enum CPUSubTypeSPARC { CPU_SUBTYPE_SPARC_ALL = 0 };
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D58636.188210.patch
Type: text/x-patch
Size: 482 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190225/daa2db83/attachment.bin>
More information about the llvm-commits
mailing list