[cfe-commits] r93837 - /cfe/trunk/lib/CodeGen/CGDebugInfo.cpp
Devang Patel
dpatel at apple.com
Mon Jan 18 18:02:11 PST 2010
Author: dpatel
Date: Mon Jan 18 20:02:11 2010
New Revision: 93837
URL: http://llvm.org/viewvc/llvm-project?rev=93837&view=rev
Log:
Emit human readable names for operators.
Modified:
cfe/trunk/lib/CodeGen/CGDebugInfo.cpp
Modified: cfe/trunk/lib/CodeGen/CGDebugInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CGDebugInfo.cpp?rev=93837&r1=93836&r2=93837&view=diff
==============================================================================
--- cfe/trunk/lib/CodeGen/CGDebugInfo.cpp (original)
+++ cfe/trunk/lib/CodeGen/CGDebugInfo.cpp Mon Jan 18 20:02:11 2010
@@ -545,11 +545,10 @@
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);
}
More information about the cfe-commits
mailing list