From c56711c212849fe68b8d00597efda6fcb28f891e Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sun, 24 Aug 2008 18:28:30 +0000 Subject: [PATCH] make sure to flush the stream after dumping, to make sure it goes out immediately. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55288 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/SelectionDAG/SelectionDAG.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/CodeGen/SelectionDAG/SelectionDAG.cpp b/lib/CodeGen/SelectionDAG/SelectionDAG.cpp index fa73e73de07..3d620359558 100644 --- a/lib/CodeGen/SelectionDAG/SelectionDAG.cpp +++ b/lib/CodeGen/SelectionDAG/SelectionDAG.cpp @@ -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 {