aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Target/ARM/Disassembler/ARMDisassembler.cpp
diff options
context:
space:
mode:
authorDiego Novillo <dnovillo@google.com>2015-11-20 21:46:38 +0000
committerDiego Novillo <dnovillo@google.com>2015-11-20 21:46:38 +0000
commit5fb49e5c5f43ff57909a9dc96b353135d9e1401e (patch)
tree4f55868f395acf0f0140ada360c16f875aa50b52 /llvm/lib/Target/ARM/Disassembler/ARMDisassembler.cpp
parentdc67f9b7e8ab9e3ff3f3d8f35aa9cd7b5e58a1ad (diff)
downloadllvm-5fb49e5c5f43ff57909a9dc96b353135d9e1401e.zip
llvm-5fb49e5c5f43ff57909a9dc96b353135d9e1401e.tar.gz
llvm-5fb49e5c5f43ff57909a9dc96b353135d9e1401e.tar.bz2
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
Diffstat (limited to 'llvm/lib/Target/ARM/Disassembler/ARMDisassembler.cpp')
0 files changed, 0 insertions, 0 deletions