1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-22 04:22:57 +02:00
llvm-mirror/test/Transforms/SampleProfile/Inputs/cov-zero-samples.prof
Diego Novillo 372bf7dc64 SamplePGO - Do not count never-executed inlined functions when computing coverage.
If a function was originally inlined but not actually hot at runtime,
its samples will not be counted inside the parent function. This throws
off the coverage calculation because it expects to find more used
records than it should.

Fixed by ignoring functions that will not be inlined into the parent.
Currently, this is inlined functions with 0 samples.  In subsequent
patches, I'll change this to mean "cold" functions.

llvm-svn: 253716
2015-11-20 21:46:38 +00:00

11 lines
111 B
Plaintext

main:20111403:0
2.1: 404065
3: 443089
3.1: 0
4: 404066
6: 0
7: 0
3.1: _Z12never_calledi:0
0: 0
1: 0