diff options
author | David Blaikie <dblaikie@gmail.com> | 2013-08-17 00:06:55 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2013-08-17 00:06:55 +0000 |
commit | 7d5d7c7e907a3db447435cb67585c8666410a5f6 (patch) | |
tree | fbdd04a7b31352a09cf0b9946c92422f3478e9b5 /clang/lib/CodeGen/CGDebugInfo.h | |
parent | 59ed08b2380d517623305b386da12269de2f75a6 (diff) | |
download | bcm5719-llvm-7d5d7c7e907a3db447435cb67585c8666410a5f6.tar.gz bcm5719-llvm-7d5d7c7e907a3db447435cb67585c8666410a5f6.zip |
Revert "DebugInfo: Omit debug info for dynamic classes in TUs that do not have the vtable for that class"
This reverts commit r188576.
Reverting while I investigate a selfhosting buildbot failure on Darwin.
llvm-svn: 188600
Diffstat (limited to 'clang/lib/CodeGen/CGDebugInfo.h')
-rw-r--r-- | clang/lib/CodeGen/CGDebugInfo.h | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/clang/lib/CodeGen/CGDebugInfo.h b/clang/lib/CodeGen/CGDebugInfo.h index 51a937bfced..39436e18a72 100644 --- a/clang/lib/CodeGen/CGDebugInfo.h +++ b/clang/lib/CodeGen/CGDebugInfo.h @@ -290,7 +290,7 @@ public: void completeType(const RecordDecl *RD); void completeRequiredType(const RecordDecl *RD); - void completeClassData(const RecordDecl *RD); + private: /// EmitDeclare - Emit call to llvm.dbg.declare for a variable declaration. @@ -353,13 +353,10 @@ private: /// declaration for the given method definition. llvm::DISubprogram getFunctionDeclaration(const Decl *D); - /// Return debug info descriptor to describe in-class static data member - /// declaration for the given out-of-class definition. - llvm::DIDerivedType - getOrCreateStaticDataMemberDeclarationOrNull(const VarDecl *D); - llvm::DIDerivedType - getOrCreateStaticDataMemberDeclaration(const VarDecl *D, - llvm::DICompositeType Ctxt); + /// getStaticDataMemberDeclaration - Return debug info descriptor to + /// describe in-class static data member declaration for the given + /// out-of-class definition. + llvm::DIDerivedType getStaticDataMemberDeclaration(const VarDecl *D); /// getFunctionName - Get function name for the given FunctionDecl. If the /// name is constructred on demand (e.g. C++ destructor) then the name |