diff options
author | Devang Patel <dpatel@apple.com> | 2010-07-15 22:57:00 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2010-07-15 22:57:00 +0000 |
commit | b3026df9fac64fdfdeb147e077ad893b763e1e3b (patch) | |
tree | 0b7a03e0d9ed21d61c1b86ce24fcb583a0addd00 /clang/lib/CodeGen/CGDebugInfo.cpp | |
parent | 4dcca262f4a4d108df476d5ec14adad3c901d7a3 (diff) | |
download | bcm5719-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.cpp | 3 |
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. |