Mark implementation generated methods as artificial.
Tested by namespace.exp and virtfunc.exp from gdb testsuite.
llvm-svn: 108468
diff --git a/clang/lib/CodeGen/CGDebugInfo.cpp b/clang/lib/CodeGen/CGDebugInfo.cpp
index 513a1fe..d1de84f 100644
--- a/clang/lib/CodeGen/CGDebugInfo.cpp
+++ b/clang/lib/CodeGen/CGDebugInfo.cpp
@@ -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.