InstrProf: Fix display of large numbers in llvm-cov
authorJustin Bogner <mail@justinbogner.com>
Wed, 13 May 2015 22:41:48 +0000 (22:41 +0000)
committerJustin Bogner <mail@justinbogner.com>
Wed, 13 May 2015 22:41:48 +0000 (22:41 +0000)
commitd0ceebf160e29d2d84bf559eb89494bf4423508b
treeff5b12a56cbb9a1011f0d26ad876ad858956ac8b
parentdfef0cecd45c6f02f36e24763fd6fc8235aa1fcf
InstrProf: Fix display of large numbers in llvm-cov

llvm-cov was truncating numbers that were larger than a particular
fixed width, which is as confusing as it is useless. Instead, we use
engineering notation with SI prefix for magnitude.

llvm-svn: 237307
llvm/test/tools/llvm-cov/Inputs/lineExecutionCounts.proftext
llvm/test/tools/llvm-cov/Inputs/regionMarkers.proftext
llvm/test/tools/llvm-cov/showLineExecutionCounts.cpp
llvm/test/tools/llvm-cov/showRegionMarkers.cpp
llvm/tools/llvm-cov/SourceCoverageView.cpp