summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2008-08-24 18:28:30 +0000
committerChris Lattner <sabre@nondot.org>2008-08-24 18:28:30 +0000
commitf4bd5cf3ddc0a7391f2fe2a02e44240084330bfc (patch)
tree40fd31b7cacfe58809c26eb7fafc681d5837247d
parent88e89a5a5d6fba41598de864d217158ee80e3341 (diff)
downloadbcm5719-llvm-f4bd5cf3ddc0a7391f2fe2a02e44240084330bfc.tar.gz
bcm5719-llvm-f4bd5cf3ddc0a7391f2fe2a02e44240084330bfc.zip
make sure to flush the stream after dumping, to make sure it goes out immediately.
llvm-svn: 55288
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
index fa73e73de07..3d620359558 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 {
OpenPOWER on IntegriCloud