summaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorHongtao Yu <hoy@fb.com>2021-05-21 17:44:56 -0700
committerHongtao Yu <hoy@fb.com>2021-05-24 12:39:12 -0700
commit3b51b51877ee590712e6a8c22882c8ac107bafb7 (patch)
tree7621dd7c8922529b74a45b9fc4a1225d8747c094 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parent7cd07d339022ef92148e27e8fe12f65865f707d9 (diff)
[CSSPGO][llvm-profgen] Report samples for untrackable frames.
Fixing an issue where samples collected for an untrackable frame is not reported. An untrackable frame refers to a frame whose caller is untrackable due to missing debug info or pseudo probe. Though the frame is connected to its parent frame through the frame pointer chain at runtime, the compiler cannot build the connection without debug info or pseudo probe. In such case we just need to report the untrackable frame as the base frame and all of its child frames. With more samples reported I'm seeing this improves the performance of an internal benchmark by 2.5%. Reviewed By: wenlei, wlei Differential Revision: https://reviews.llvm.org/D102961
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions