From f4bd5cf3ddc0a7391f2fe2a02e44240084330bfc 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. llvm-svn: 55288 --- llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp index fa73e73de070..3d620359558b 100644 --- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp +++ b/llvm/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 {