[LLVMdev] raw_ostream behavior

Shankar Easwaran shankare at codeaurora.org
Wed Aug 14 15:09:05 PDT 2013


On 8/14/2013 5:00 PM, Dan Gohman wrote:
> Standard error is what many tools, including clang for example, use for
> their --verbose output. This is appropriate because it leaves standard
> output available for regular output data, which the user may wish to
> capture in a file or a pipe.
Then possibly lld also should start using stderr for the options 
controlled by user for verbose outputs.

Do you think it should be mentioned in the API usage for users mixing 
usage of raw_fd_ostream and llvm::outs() ?

Thanks

Shankar Easwaran



More information about the llvm-dev mailing list