forked from OSchip/llvm-project
While collecting members for a class, always create delcaration entry for methods. Debug info for method definition will be generated while generating code for method body.
Tested by classes.exp in gdb testsuite. llvm-svn: 108205
This commit is contained in:
parent
91806311c9
commit
0aabb1200f
|
@ -598,7 +598,7 @@ CGDebugInfo::CreateCXXMemberFunction(const CXXMethodDecl *Method,
|
|||
MethodLinkageName,
|
||||
MethodDefUnit, MethodLine,
|
||||
MethodTy, /*isLocalToUnit=*/false,
|
||||
Method->isThisDeclarationADefinition(),
|
||||
/* isDefintion=*/ false,
|
||||
Virtuality, VIndex, ContainingType);
|
||||
|
||||
// Don't cache ctors or dtors since we have to emit multiple functions for
|
||||
|
|
Loading…
Reference in New Issue