aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/CGDebugInfo.cpp
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2010-01-19 02:02:11 +0000
committerDevang Patel <dpatel@apple.com>2010-01-19 02:02:11 +0000
commit6d012768a291a62d901d34f115eca36cbc1a3652 (patch)
tree27ea39a77c9b9b310ee6dbdb8d0a61e390457cc6 /lib/CodeGen/CGDebugInfo.cpp
parent4125fd20ef7e5ad6436c7b02bbbbe2e82c342c36 (diff)
Emit human readable names for operators.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@93837 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGDebugInfo.cpp')
-rw-r--r--lib/CodeGen/CGDebugInfo.cpp7
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);
}