summaryrefslogtreecommitdiffstats
path: root/clang/lib/Basic/TargetInfo.cpp
diff options
context:
space:
mode:
authorJohn McCall <rjmccall@apple.com>2010-08-21 22:46:04 +0000
committerJohn McCall <rjmccall@apple.com>2010-08-21 22:46:04 +0000
commit86353416a7115dc430b9cd47a1aaeb8f19c34f2c (patch)
treee2708df9c05d35abb3985be8ff502ddf133c0a45 /clang/lib/Basic/TargetInfo.cpp
parentb186bc3c4b361089918f25f2dcc2de015bb67305 (diff)
downloadbcm5719-llvm-86353416a7115dc430b9cd47a1aaeb8f19c34f2c.tar.gz
bcm5719-llvm-86353416a7115dc430b9cd47a1aaeb8f19c34f2c.zip
The ARM C++ ABI is sufficiently different from the Itanium C++ ABI that
it deserves its own enumerator. Obviously the implementations should closely follow the Itanium ABI except in cases of divergence. llvm-svn: 111749
Diffstat (limited to 'clang/lib/Basic/TargetInfo.cpp')
-rw-r--r--clang/lib/Basic/TargetInfo.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/clang/lib/Basic/TargetInfo.cpp b/clang/lib/Basic/TargetInfo.cpp
index 7c42a80d1bb..6d42883cd13 100644
--- a/clang/lib/Basic/TargetInfo.cpp
+++ b/clang/lib/Basic/TargetInfo.cpp
@@ -58,6 +58,9 @@ TargetInfo::TargetInfo(const std::string &T) : Triple(T) {
// Default to no types using fpret.
RealTypeUsesObjCFPRet = 0;
+
+ // Default to using the Itanium ABI.
+ CXXABI = CXXABI_Itanium;
}
// Out of line virtual dtor for TargetInfo.
OpenPOWER on IntegriCloud