[llvm-commits] [llvm] r55301 - /llvm/trunk/lib/VMCore/AsmWriter.cpp

Chris Lattner sabre at nondot.org
Sun Aug 24 21:55:47 PDT 2008


Author: lattner
Date: Sun Aug 24 23:55:46 2008
New Revision: 55301

URL: http://llvm.org/viewvc/llvm-project?rev=55301&view=rev
Log:
flush stream after dumping.

Modified:
    llvm/trunk/lib/VMCore/AsmWriter.cpp

Modified: llvm/trunk/lib/VMCore/AsmWriter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/VMCore/AsmWriter.cpp?rev=55301&r1=55300&r2=55301&view=diff

==============================================================================
--- llvm/trunk/lib/VMCore/AsmWriter.cpp (original)
+++ llvm/trunk/lib/VMCore/AsmWriter.cpp Sun Aug 24 23:55:46 2008
@@ -1790,13 +1790,13 @@
 
 // Value::dump - allow easy printing of  Values from the debugger.
 // Located here because so much of the needed functionality is here.
-void Value::dump() const { print(errs()); errs() << '\n'; }
+void Value::dump() const { print(errs()); errs() << '\n'; errs().flush(); }
 
 // Type::dump - allow easy printing of  Values from the debugger.
 // Located here because so much of the needed functionality is here.
-void Type::dump() const { print(errs()); errs() << '\n'; }
+void Type::dump() const { print(errs()); errs() << '\n'; errs().flush(); }
 
 // Module::dump() - Allow printing from debugger
-void Module::dump() const { print(errs(), 0); }
+void Module::dump() const { print(errs(), 0); errs().flush(); }
 
 





More information about the llvm-commits mailing list