]> granicus.if.org Git - clang/commit
Pass the formatted_raw_ostream to createPrintModulePass and
authorDan Gohman <gohman@apple.com>
Sat, 26 Sep 2009 15:06:14 +0000 (15:06 +0000)
committerDan Gohman <gohman@apple.com>
Sat, 26 Sep 2009 15:06:14 +0000 (15:06 +0000)
commitb8d42397aaac8cf4d8fe9d1b081a7b0440fc33d6
tree972f540ca0a5a9d18ef654ce146fe9261e9ba3ff
parent1abe5c306cadccff2bdc1eae0b091c4a3bd14454
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
lib/Frontend/Backend.cpp