diff options
author | Chris Lattner <sabre@nondot.org> | 2002-09-19 20:49:25 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2002-09-19 20:49:25 +0000 |
commit | fd479b6fd4fe7ec83421a8b999e6b02d86a9e006 (patch) | |
tree | 7988590ee5c03274f5ec77ca40dcf3aaed4fa0b5 /include/llvm/Assembly/PrintModulePass.h | |
parent | b4ee4f935e310310b3a56df1d65a4ca9540b0361 (diff) |
Workaround for bug in GCC 3.1.1 iostreams library on sparc. It apprarently
isn't flushing an ostream when it is deleted.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3834 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Assembly/PrintModulePass.h')
-rw-r--r-- | include/llvm/Assembly/PrintModulePass.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Assembly/PrintModulePass.h b/include/llvm/Assembly/PrintModulePass.h index 1dfb75e049..a86f13cf7f 100644 --- a/include/llvm/Assembly/PrintModulePass.h +++ b/include/llvm/Assembly/PrintModulePass.h @@ -28,7 +28,7 @@ public: } bool run(Module &M) { - (*Out) << M; + (*Out) << M << std::flush; return false; } |