commit | d0ceebf160e29d2d84bf559eb89494bf4423508b | [log] [tgz] |
---|---|---|
author | Justin Bogner <mail@justinbogner.com> | Wed May 13 22:41:48 2015 +0000 |
committer | Justin Bogner <mail@justinbogner.com> | Wed May 13 22:41:48 2015 +0000 |
tree | ff5b12a56cbb9a1011f0d26ad876ad858956ac8b | |
parent | dfef0cecd45c6f02f36e24763fd6fc8235aa1fcf [diff] |
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
diff --git a/llvm/test/tools/llvm-cov/Inputs/lineExecutionCounts.proftext b/llvm/test/tools/llvm-cov/Inputs/lineExecutionCounts.proftext index 1966d42..38387a6 100644 --- a/llvm/test/tools/llvm-cov/Inputs/lineExecutionCounts.proftext +++ b/llvm/test/tools/llvm-cov/Inputs/lineExecutionCounts.proftext
@@ -1,8 +1,8 @@ main 0x000000000028434d 5 -1 +161 0 -100 -1 +16100 +161 0
diff --git a/llvm/test/tools/llvm-cov/Inputs/regionMarkers.proftext b/llvm/test/tools/llvm-cov/Inputs/regionMarkers.proftext index 1966d42..5199edc 100644 --- a/llvm/test/tools/llvm-cov/Inputs/regionMarkers.proftext +++ b/llvm/test/tools/llvm-cov/Inputs/regionMarkers.proftext
@@ -1,8 +1,8 @@ main 0x000000000028434d 5 -1 +1111000 0 -100 -1 +111100000 +1111000 0