commit | b8d42397aaac8cf4d8fe9d1b081a7b0440fc33d6 | [log] [tgz] |
---|---|---|
author | Dan Gohman <gohman@apple.com> | Sat Sep 26 15:06:14 2009 +0000 |
committer | Dan Gohman <gohman@apple.com> | Sat Sep 26 15:06:14 2009 +0000 |
tree | 972f540ca0a5a9d18ef654ce146fe9261e9ba3ff | |
parent | 1abe5c306cadccff2bdc1eae0b091c4a3bd14454 [diff] |
Pass the formatted_raw_ostream to createPrintModulePass and createBitcodeWriterPass instead of the underlying raw_ostream. This avoids trouble with formatted_raw_ostream's behavior of setting the underlying stream to be unbuffered, which resulted in clang -emit-llvm -S using unbuffered output. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@82857 91177308-0d34-0410-b5e6-96231b3b80d8