[cfe-commits] r108468 - /cfe/trunk/lib/CodeGen/CGDebugInfo.cpp
Devang Patel
dpatel at apple.com
Thu Jul 15 15:57:00 PDT 2010
Author: dpatel
Date: Thu Jul 15 17:57:00 2010
New Revision: 108468
URL: http://llvm.org/viewvc/llvm-project?rev=108468&view=rev
Log:
Mark implementation generated methods as artificial.
Tested by namespace.exp and virtfunc.exp from gdb testsuite.
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=108468&r1=108467&r2=108468&view=diff
==============================================================================
--- cfe/trunk/lib/CodeGen/CGDebugInfo.cpp (original)
+++ cfe/trunk/lib/CodeGen/CGDebugInfo.cpp Thu Jul 15 17:57:00 2010
@@ -600,7 +600,8 @@
MethodDefUnit, MethodLine,
MethodTy, /*isLocalToUnit=*/false,
/* isDefintion=*/ false,
- Virtuality, VIndex, ContainingType);
+ Virtuality, VIndex, ContainingType,
+ Method->isImplicit());
// Don't cache ctors or dtors since we have to emit multiple functions for
// a single ctor or dtor.
More information about the cfe-commits
mailing list