summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorTim Northover <Tim.Northover@arm.com>2013-01-31 12:13:10 +0000
committerTim Northover <Tim.Northover@arm.com>2013-01-31 12:13:10 +0000
commit9bb857a4f1aec1c33d599672defb46b98d792719 (patch)
treeec0be5d95a2c1cabd91de9536dba0c135f4c019a /clang/lib/CodeGen/CodeGenModule.cpp
parente0e3aefdd3affa427693ce6434599af38fcb7a13 (diff)
downloadbcm5719-llvm-9bb857a4f1aec1c33d599672defb46b98d792719.tar.gz
bcm5719-llvm-9bb857a4f1aec1c33d599672defb46b98d792719.zip
Add support for AArch64 target.
In cooperation with the LLVM patch, this should implement all scalar front-end parts of the C and C++ ABIs for AArch64. This patch excludes the NEON support also reviewed due to an outbreak of batshit insanity in our legal department. That will be committed soon bringing the changes to precisely what has been approved. Further reviews would be gratefully received. llvm-svn: 174055
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
-rw-r--r--clang/lib/CodeGen/CodeGenModule.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/CodeGen/CodeGenModule.cpp b/clang/lib/CodeGen/CodeGenModule.cpp
index 80b52978c77..91f22b1cd6f 100644
--- a/clang/lib/CodeGen/CodeGenModule.cpp
+++ b/clang/lib/CodeGen/CodeGenModule.cpp
@@ -54,6 +54,7 @@ static const char AnnotationSection[] = "llvm.metadata";
static CGCXXABI &createCXXABI(CodeGenModule &CGM) {
switch (CGM.getContext().getTargetInfo().getCXXABI().getKind()) {
+ case TargetCXXABI::GenericAArch64:
case TargetCXXABI::GenericARM:
case TargetCXXABI::iOS:
case TargetCXXABI::GenericItanium:
OpenPOWER on IntegriCloud