]> granicus.if.org Git - clang/commitdiff
Flust stdout after each vftable dumped to simplify debugging
authorTimur Iskhodzhanov <timurrrr@google.com>
Thu, 20 Mar 2014 13:42:14 +0000 (13:42 +0000)
committerTimur Iskhodzhanov <timurrrr@google.com>
Thu, 20 Mar 2014 13:42:14 +0000 (13:42 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@204341 91177308-0d34-0410-b5e6-96231b3b80d8

lib/AST/VTableBuilder.cpp

index 4ddb3c8c9507a2f3363faa7837c815665dae6c60..01372341177ccc804513048789344787d17e0c95 100644 (file)
@@ -3103,6 +3103,8 @@ void VFTableBuilder::dumpLayout(raw_ostream &Out) {
       Out << '\n';
     }
   }
+
+  Out.flush();
 }
 
 static bool setsIntersect(const llvm::SmallPtrSet<const CXXRecordDecl *, 4> &A,
@@ -3359,6 +3361,8 @@ void MicrosoftVTableContext::dumpMethodLocations(
     }
     Out << '\n';
   }
+
+  Out.flush();
 }
 
 const VirtualBaseInfo *MicrosoftVTableContext::computeVBTableRelatedInformation(