diff options
author | Dehao Chen <dehao@google.com> | 2016-04-20 23:36:23 +0000 |
---|---|---|
committer | Dehao Chen <dehao@google.com> | 2016-04-20 23:36:23 +0000 |
commit | a8bae8237321a37f2412a00a46ea8d005b82809b (patch) | |
tree | 89b853fdab12eb05d64d5fe5f136cf95fb38d381 /lldb/source/Commands/CommandObjectHelp.cpp | |
parent | 848334704d3853dbb5a9984e3b8bd670f3325066 (diff) | |
download | llvm-a8bae8237321a37f2412a00a46ea8d005b82809b.zip llvm-a8bae8237321a37f2412a00a46ea8d005b82809b.tar.gz llvm-a8bae8237321a37f2412a00a46ea8d005b82809b.tar.bz2 |
Refine instruction weight annotation algorithm for sample profiler.
Summary:
This patch refined the instruction weight anootation algorithm:
1. Do not use dbg_value intrinsics for annotation.
2. Annotate cold calls if the call is inlined in profile, but not inlined before preparation. This indicates that the annotation preparation step found no sample for the inlined callsite, thus the call should be very cold.
Reviewers: dnovillo, davidxl
Subscribers: mgrang, llvm-commits
Differential Revision: http://reviews.llvm.org/D19286
llvm-svn: 266936
Diffstat (limited to 'lldb/source/Commands/CommandObjectHelp.cpp')
0 files changed, 0 insertions, 0 deletions