There are two separate output streams available for outputting
optimization information from passes. Note that both these streams
accept stderr and stdout as valid streams and thus it is
possible to dump output to standard output or error. This is specially
handy for outputting all available information in a single file by
redirecting stderr.
pstreamstdout and
stderr for dumping to standard output and standard error
respectively.
alt_streamstderr.