diff options
| author | Adrian Prantl <aprantl@apple.com> | 2013-05-09 23:16:27 +0000 |
|---|---|---|
| committer | Adrian Prantl <aprantl@apple.com> | 2013-05-09 23:16:27 +0000 |
| commit | 0a050f7d56039bab7556e08b359e06d329977b6b (patch) | |
| tree | 6def5ef873c299c1349a03ee6d25d873b2b72be7 /lib/CodeGen/CodeGenModule.h | |
| parent | 192b030c8a887aa34db56d709136e533a454b2f3 (diff) | |
| download | clang-0a050f7d56039bab7556e08b359e06d329977b6b.tar.gz clang-0a050f7d56039bab7556e08b359e06d329977b6b.tar.bz2 clang-0a050f7d56039bab7556e08b359e06d329977b6b.tar.xz | |
Debug Info: Fix a problem that resulted in missing DW_AT_specifications
for C++ constructors.
If the DIType for a class was generated by
CGDebugInfo::createContextChain(), the cache contains only a
limited DIType wihtout any declarations. Since EmitFunctionStart()
needs to find the canonical declaration for each method, we
construct the complete type before emitting any method.
rdar://problem/13116508
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@181561 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenModule.h')
| -rw-r--r-- | lib/CodeGen/CodeGenModule.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/CodeGen/CodeGenModule.h b/lib/CodeGen/CodeGenModule.h index 1d6c7e98e5..e4e29a8d6b 100644 --- a/lib/CodeGen/CodeGenModule.h +++ b/lib/CodeGen/CodeGenModule.h @@ -1025,6 +1025,7 @@ private: void EmitNamespace(const NamespaceDecl *D); void EmitLinkageSpec(const LinkageSpecDecl *D); + void CompleteDIClassType(const CXXMethodDecl* D); /// EmitCXXConstructors - Emit constructors (base, complete) from a /// C++ constructor Decl. |
