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 | 4089491e354a8718f3953b0ef72da0ad6ca98d89 (patch) | |
tree | acb1e50eab704c4dc081e3a9f682da6ab280d01b /lib/CodeGen/CGDebugInfo.cpp | |
parent | 1658c39227fe0dc53e6365799a579eeb22b478d2 (diff) |
Mark implementation generated methods as artificial.
Tested by namespace.exp and virtfunc.exp from gdb testsuite.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@108468 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGDebugInfo.cpp')
-rw-r--r-- | lib/CodeGen/CGDebugInfo.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/CodeGen/CGDebugInfo.cpp b/lib/CodeGen/CGDebugInfo.cpp index 513a1fe5ef..d1de84fef7 100644 --- a/lib/CodeGen/CGDebugInfo.cpp +++ b/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. |