summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/X86/X86TargetObjectFile.cpp
diff options
context:
space:
mode:
authorJustin Bogner <mail@justinbogner.com>2015-02-23 21:21:34 +0000
committerJustin Bogner <mail@justinbogner.com>2015-02-23 21:21:34 +0000
commit4d7aae932c48f0b1e16dc989a84a84a60befb437 (patch)
tree70361a699a1636e94eaf9bb4db5e6b684bdee073 /llvm/lib/Target/X86/X86TargetObjectFile.cpp
parentd487bb12d956480483bf6d537b56c81f47f09509 (diff)
downloadbcm5719-llvm-4d7aae932c48f0b1e16dc989a84a84a60befb437.tar.gz
bcm5719-llvm-4d7aae932c48f0b1e16dc989a84a84a60befb437.zip
InstrProf: Teach llvm-cov to show the max count instead of the last
When multiple regions start on the same line, llvm-cov was just showing the count of the last one as the line count. This can be confusing and misleading for things like one-liner loops, where the count at the end isn't very interesting, or even "if" statements with an opening brace at the end of the line. Instead, use the maximum of all of the region start counts. llvm-svn: 230263
Diffstat (limited to 'llvm/lib/Target/X86/X86TargetObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud