Clean up llvm-bcanalyzer to print to consistent streams.
authorJan Wen Voung <jvoung@google.com>
Wed, 5 Sep 2012 20:55:54 +0000 (20:55 +0000)
committerJan Wen Voung <jvoung@google.com>
Wed, 5 Sep 2012 20:55:54 +0000 (20:55 +0000)
commit851343c741ca94ca3db99b96cdd02295fd6780d1
tree19a36c39b5e5d36bddc4dc547e6e6fa772a8c4de
parentaadf71570256992a7baf794964499a17b89e3997
Clean up llvm-bcanalyzer to print to consistent streams.
Avoid interleaving fprintf(stderr,...) and outs() << ...;

Also add a column to show "bytes-per" for each record.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@163240 91177308-0d34-0410-b5e6-96231b3b80d8
tools/llvm-bcanalyzer/llvm-bcanalyzer.cpp