Displaying 2 results from an estimated 2 matches for "54537be9".
2012 Nov 29
0
[LLVMdev] Different behavoir when writing to stdout with 2 raw_fd_ostreams with or w/o redirection
...always exists and
> creates problems, even if not used.
If you don't call outs(), its static object isn't constructed (or
destructed).
Dan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20121129/54537be9/attachment.html>
2012 Nov 29
2
[LLVMdev] Different behavoir when writing to stdout with 2 raw_fd_ostreams with or w/o redirection
Hi Dan, Sean,
Thanks for replies,
So does it mean user is not expected to use any other stream for stdout,
but outs()? Although there is a comment "If you don't want this behavior,
don't use outs().", outs() is a static instance which always exists and
creates problems, even if not used.
- D.
2012/11/29 Dan Gohman <dan433584 at gmail.com>
> On Wed, Nov 28, 2012 at