summaryrefslogtreecommitdiff
path: root/lib/VMCore
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
commit3518175d4256df88fcaf133c0ed9fb166db7993c (patch)
tree08be7989b33a462d5acb22c4559a7d151caf51b7 /lib/VMCore
parente7321441ac905716ad1df5fcbed48c59ea4aeb99 (diff)
downloadllvm-3518175d4256df88fcaf133c0ed9fb166db7993c.tar.gz
llvm-3518175d4256df88fcaf133c0ed9fb166db7993c.tar.bz2
llvm-3518175d4256df88fcaf133c0ed9fb166db7993c.tar.xz
flush stream after dumping.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55301 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/VMCore')
-rw-r--r--lib/VMCore/AsmWriter.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/VMCore/AsmWriter.cpp b/lib/VMCore/AsmWriter.cpp
index 1b98d55dba..56653e8fdb 100644
--- a/lib/VMCore/AsmWriter.cpp
+++ b/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(); }