make sure to flush the stream after dumping, to make sure it goes out immediately.
authorChris Lattner <sabre@nondot.org>
Sun, 24 Aug 2008 18:28:30 +0000 (18:28 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 24 Aug 2008 18:28:30 +0000 (18:28 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55288 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/SelectionDAG/SelectionDAG.cpp

index fa73e73de0703ac1974c849e2d9d17e6ac81e083..3d620359558bd84490432d284afb747cf9e090ef 100644 (file)
@@ -4982,6 +4982,7 @@ std::string ISD::ArgFlagsTy::getArgFlagsString() {
 void SDNode::dump() const { dump(0); }
 void SDNode::dump(const SelectionDAG *G) const {
   print(errs(), G);
+  errs().flush();
 }
 
 void SDNode::print(raw_ostream &OS, const SelectionDAG *G) const {