summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGDebugInfo.h
diff options
context:
space:
mode:
authorMichael Gottesman <mgottesman@apple.com>2013-08-19 18:46:16 +0000
committerMichael Gottesman <mgottesman@apple.com>2013-08-19 18:46:16 +0000
commit349542b171d8f90e2b5385240b0ac567286b7190 (patch)
treef6b228480d32a68c910b6fb15c13b661976a2078 /clang/lib/CodeGen/CGDebugInfo.h
parenteb0911f59df85a5fef9338ce5e6f92513ab46351 (diff)
downloadbcm5719-llvm-349542b171d8f90e2b5385240b0ac567286b7190.tar.gz
bcm5719-llvm-349542b171d8f90e2b5385240b0ac567286b7190.zip
Revert "Revert "Revert "DebugInfo: Omit debug info for dynamic classes in TUs that do not have the vtable for that class"""
This reverts commit r188642. This change is causing LTO builds to cause our 16 GB machines to swap and OOM all weekend. I am going to work with Dave Blaikie to resolve the issue. Sorry Dave =(. llvm-svn: 188687
Diffstat (limited to 'clang/lib/CodeGen/CGDebugInfo.h')
-rw-r--r--clang/lib/CodeGen/CGDebugInfo.h13
1 files changed, 5 insertions, 8 deletions
diff --git a/clang/lib/CodeGen/CGDebugInfo.h b/clang/lib/CodeGen/CGDebugInfo.h
index d0e16bfe3eb..54b9267f8e4 100644
--- a/clang/lib/CodeGen/CGDebugInfo.h
+++ b/clang/lib/CodeGen/CGDebugInfo.h
@@ -291,7 +291,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.
@@ -354,13 +354,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
OpenPOWER on IntegriCloud