diff options
author | Chris Lattner <sabre@nondot.org> | 2008-08-24 18:28:30 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2008-08-24 18:28:30 +0000 |
commit | c56711c212849fe68b8d00597efda6fcb28f891e (patch) | |
tree | 7b7efb93b47614c2c45e724131f9039076a0ea60 /lib/CodeGen/SelectionDAG/SelectionDAG.cpp | |
parent | d85f51abd4deacf9e7a5118bffb21bff2f4a0988 (diff) |
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
Diffstat (limited to 'lib/CodeGen/SelectionDAG/SelectionDAG.cpp')
-rw-r--r-- | lib/CodeGen/SelectionDAG/SelectionDAG.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/CodeGen/SelectionDAG/SelectionDAG.cpp b/lib/CodeGen/SelectionDAG/SelectionDAG.cpp index fa73e73de0..3d62035955 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 { |