diff options
author | Mike Stump <mrs@apple.com> | 2009-11-15 08:09:41 +0000 |
---|---|---|
committer | Mike Stump <mrs@apple.com> | 2009-11-15 08:09:41 +0000 |
commit | c2e84ae9a6d25cea3e583c768e576b4c981ec028 (patch) | |
tree | 29b48802ad5ceeaafef5a900a5a983cd95d72bb2 /lib/CodeGen/Mangle.cpp | |
parent | 593564ba94ff854b7a410a4ca17ad34a90c5b761 (diff) |
Implement typeid for class types.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@88843 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/Mangle.cpp')
-rw-r--r-- | lib/CodeGen/Mangle.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/CodeGen/Mangle.cpp b/lib/CodeGen/Mangle.cpp index e644ff3e4e..91e89fb711 100644 --- a/lib/CodeGen/Mangle.cpp +++ b/lib/CodeGen/Mangle.cpp @@ -1286,6 +1286,8 @@ static bool isCharSpecialization(QualType T, const char *Name) { bool CXXNameMangler::mangleStandardSubstitution(const NamedDecl *ND) { // <substitution> ::= St # ::std:: + // FIXME: type_info == comes out as __ZNK3std9type_infoeqERKS0_ instead of + // __ZNKSt9type_infoeqERKS_ if (const NamespaceDecl *NS = dyn_cast<NamespaceDecl>(ND)) { if (isStdNamespace(NS)) { Out << "St"; |