diff options
Diffstat (limited to 'lib/CodeGen/CGDebugInfo.cpp')
-rw-r--r-- | lib/CodeGen/CGDebugInfo.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/CodeGen/CGDebugInfo.cpp b/lib/CodeGen/CGDebugInfo.cpp index 6b2c3c6b6d..d9c1e00012 100644 --- a/lib/CodeGen/CGDebugInfo.cpp +++ b/lib/CodeGen/CGDebugInfo.cpp @@ -545,11 +545,10 @@ CollectCXXMemberFunctions(const CXXRecordDecl *Decl, MethodName = getFunctionName(Method); // FIXME : Find linkage name. } else { - // regular method - IdentifierInfo *II = Method->getIdentifier(); - if (!II) + if (Method->isImplicit()) continue; - MethodName = Method->getIdentifier()->getName(); + // regular method + MethodName = getFunctionName(Method); MethodLinkageName = CGM.getMangledName(Method); } |