summaryrefslogtreecommitdiffstats
path: root/llvm/lib/VMCore/AsmWriter.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2008-08-25 04:55:46 +0000
committerChris Lattner <sabre@nondot.org>2008-08-25 04:55:46 +0000
commit820eebc5a8c947d15513b1df5a0bb33fcc58e7ba (patch)
treee717f7bbc8cfefa8e0eb82c08babc493ee7fb3b7 /llvm/lib/VMCore/AsmWriter.cpp
parente4146813523f65bf42ada42a14704edf836852ff (diff)
downloadbcm5719-llvm-820eebc5a8c947d15513b1df5a0bb33fcc58e7ba.tar.gz
bcm5719-llvm-820eebc5a8c947d15513b1df5a0bb33fcc58e7ba.zip
flush stream after dumping.
llvm-svn: 55301
Diffstat (limited to 'llvm/lib/VMCore/AsmWriter.cpp')
-rw-r--r--llvm/lib/VMCore/AsmWriter.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/VMCore/AsmWriter.cpp b/llvm/lib/VMCore/AsmWriter.cpp
index 1b98d55dbac..56653e8fdb3 100644
--- a/llvm/lib/VMCore/AsmWriter.cpp
+++ b/llvm/lib/VMCore/AsmWriter.cpp
@@ -1790,13 +1790,13 @@ void Value::print(std::ostream &O, AssemblyAnnotationWriter *AAW) const {
// 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(); }
OpenPOWER on IntegriCloud