summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGObjCMac.cpp
diff options
context:
space:
mode:
authorTim Northover <tnorthover@apple.com>2014-05-24 12:52:07 +0000
committerTim Northover <tnorthover@apple.com>2014-05-24 12:52:07 +0000
commit573cbee543154bc17648f9428cb235886e61bc21 (patch)
tree3adfb560b9e14c6acedc0e6b63a589362b8239c6 /clang/lib/CodeGen/CGObjCMac.cpp
parent25e8a6754e3f4c447ddfe5b742c01c16cb050b67 (diff)
downloadbcm5719-llvm-573cbee543154bc17648f9428cb235886e61bc21.tar.gz
bcm5719-llvm-573cbee543154bc17648f9428cb235886e61bc21.zip
AArch64/ARM64: rename ARM64 components to AArch64
This keeps Clang consistent with backend naming conventions. llvm-svn: 209579
Diffstat (limited to 'clang/lib/CodeGen/CGObjCMac.cpp')
-rw-r--r--clang/lib/CodeGen/CGObjCMac.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CGObjCMac.cpp b/clang/lib/CodeGen/CGObjCMac.cpp
index 7259d455949..95503cc7ef6 100644
--- a/clang/lib/CodeGen/CGObjCMac.cpp
+++ b/clang/lib/CodeGen/CGObjCMac.cpp
@@ -5034,7 +5034,8 @@ ObjCCommonTypesHelper::ObjCCommonTypesHelper(CodeGen::CodeGenModule &cgm)
// arm64 targets use "int" ivar offset variables. All others,
// including OS X x86_64 and Windows x86_64, use "long" ivar offsets.
- if (CGM.getTarget().getTriple().getArch() == llvm::Triple::arm64)
+ if (CGM.getTarget().getTriple().getArch() == llvm::Triple::arm64 ||
+ CGM.getTarget().getTriple().getArch() == llvm::Triple::aarch64)
IvarOffsetVarTy = IntTy;
else
IvarOffsetVarTy = LongTy;
OpenPOWER on IntegriCloud