diff options
author | John McCall <rjmccall@apple.com> | 2010-08-21 22:46:04 +0000 |
---|---|---|
committer | John McCall <rjmccall@apple.com> | 2010-08-21 22:46:04 +0000 |
commit | ee79a4c30e5d1c5285551c9a25b8ec6d45d46aa7 (patch) | |
tree | 646cd47265c995749e077b9f2e620436a5007436 /lib/Basic/TargetInfo.cpp | |
parent | ff58e3610f4e12094def69eb2d6dcb4330378d8f (diff) |
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.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@111749 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Basic/TargetInfo.cpp')
-rw-r--r-- | lib/Basic/TargetInfo.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Basic/TargetInfo.cpp b/lib/Basic/TargetInfo.cpp index 7c42a80d1b..6d42883cd1 100644 --- a/lib/Basic/TargetInfo.cpp +++ b/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. |