diff options
author | Steve Naroff <snaroff@apple.com> | 2009-07-22 17:14:51 +0000 |
---|---|---|
committer | Steve Naroff <snaroff@apple.com> | 2009-07-22 17:14:51 +0000 |
commit | 9533a7fdb8397421f3be52e879442460a87389f6 (patch) | |
tree | 7fd137d668d768e38089710ae937a2814a7c06cd /lib/CodeGen/Mangle.cpp | |
parent | 3a266f28ffb1a1710084a7eb86f140d445c77746 (diff) |
Fix a couple recent ABI regressions noticed during code review (fallout from the ObjC type system rewrite).
It's unfortunate that the mangling includes the low-level structs. Nevertheless, we need this for binary compatibility with GCC.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@76755 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/Mangle.cpp')
-rw-r--r-- | lib/CodeGen/Mangle.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/CodeGen/Mangle.cpp b/lib/CodeGen/Mangle.cpp index 5340cd7262..9e389040b8 100644 --- a/lib/CodeGen/Mangle.cpp +++ b/lib/CodeGen/Mangle.cpp @@ -577,8 +577,8 @@ void CXXNameMangler::mangleType(const BuiltinType *T) { case BuiltinType::UndeducedAuto: assert(0 && "Should not see undeduced auto here"); break; - case BuiltinType::ObjCId: Out << "2id"; break; - case BuiltinType::ObjCClass: Out << "5Class"; break; + case BuiltinType::ObjCId: Out << "11objc_object"; break; + case BuiltinType::ObjCClass: Out << "10objc_class"; break; } } |