Add r234615 back, but make sure outs() is binary.
authorRafael Espindola <rafael.espindola@gmail.com>
Mon, 13 Apr 2015 10:28:56 +0000 (10:28 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Mon, 13 Apr 2015 10:28:56 +0000 (10:28 +0000)
commit2b6ba77325c554bb397e04cf0129ac17bef2b01b
treeb2c9a005a1d6d88988e9fce27bc717e61346798b
parent47882583cb1a7b2b7cec3a5d0691559b52ee4d5f
Add r234615 back, but make sure outs() is binary.

Original message.

Have one raw_fd_ostream constructor forward to the other.

This fixes some odd behaviour differences between the two. In particular,
the version that takes a FD no longer unconditionally sets stdout to binary.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@234734 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Support/raw_ostream.cpp