[llvm-dev] raw_pwrite_stream to string or stdout?
Rafael EspĂndola via llvm-dev
llvm-dev at lists.llvm.org
Mon Feb 22 12:24:17 PST 2016
On 22 February 2016 at 14:26, Yaron Keren <yaron.keren at gmail.com> wrote:
> Yes, you are correct. I had in mind the usual use of outs() for console or
> pipe, where raw_fd_ostream::SupportsSeeking will be false and actually not
> seekable.
>
> Looking at the code, shouldn't raw_fd_ostream::seek assert(SupportsSeeking)?
Good question. Originally it just flags the error, but I think that
predates the SupportsSeeking flag.
Cheers,
Rafael
More information about the llvm-dev
mailing list