summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGDebugInfo.cpp
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2010-07-15 22:57:00 +0000
committerDevang Patel <dpatel@apple.com>2010-07-15 22:57:00 +0000
commitb3026df9fac64fdfdeb147e077ad893b763e1e3b (patch)
tree0b7a03e0d9ed21d61c1b86ce24fcb583a0addd00 /clang/lib/CodeGen/CGDebugInfo.cpp
parent4dcca262f4a4d108df476d5ec14adad3c901d7a3 (diff)
downloadbcm5719-llvm-b3026df9fac64fdfdeb147e077ad893b763e1e3b.tar.gz
bcm5719-llvm-b3026df9fac64fdfdeb147e077ad893b763e1e3b.zip
Mark implementation generated methods as artificial.
Tested by namespace.exp and virtfunc.exp from gdb testsuite. llvm-svn: 108468
Diffstat (limited to 'clang/lib/CodeGen/CGDebugInfo.cpp')
-rw-r--r--clang/lib/CodeGen/CGDebugInfo.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CGDebugInfo.cpp b/clang/lib/CodeGen/CGDebugInfo.cpp
index 513a1fe5eff..d1de84fef7b 100644
--- a/clang/lib/CodeGen/CGDebugInfo.cpp
+++ b/clang/lib/CodeGen/CGDebugInfo.cpp
@@ -600,7 +600,8 @@ CGDebugInfo::CreateCXXMemberFunction(const CXXMethodDecl *Method,
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.
OpenPOWER on IntegriCloud