summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGVTables.cpp
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/CGVTables.cpp
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/CGVTables.cpp')
-rw-r--r--clang/lib/CodeGen/CGVTables.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/clang/lib/CodeGen/CGVTables.cpp b/clang/lib/CodeGen/CGVTables.cpp
index 6649578fc09..c7bb54e0699 100644
--- a/clang/lib/CodeGen/CGVTables.cpp
+++ b/clang/lib/CodeGen/CGVTables.cpp
@@ -828,9 +828,6 @@ CodeGenVTables::GenerateClassData(const CXXRecordDecl *RD) {
VFTContext->getVFPtrOffsets(RD);
}
- if (CGDebugInfo *DI = CGM.getModuleDebugInfo())
- DI->completeClassData(RD);
-
// First off, check whether we've already emitted the v-table and
// associated stuff.
llvm::GlobalVariable *VTable = GetAddrOfVTable(RD);
OpenPOWER on IntegriCloud