aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/Process/gdb-remote/ThreadGDBRemote.cpp
diff options
context:
space:
mode:
authorspupyrev <spupyrev@fb.com>2021-03-30 10:38:58 -0700
committerWenlei He <aktoon@gmail.com>2021-03-30 10:44:48 -0700
commit22998738e8f78b447b04a7fd23efa4deaeda306b (patch)
treed4ca29757465e2028ecb03a4d6027bf8184945f6 /lldb/source/Plugins/Process/gdb-remote/ThreadGDBRemote.cpp
parent3e3fc431dfe4c0f118f8e3d78bb3e7e96a7d4c35 (diff)
downloadllvm-22998738e8f78b447b04a7fd23efa4deaeda306b.zip
llvm-22998738e8f78b447b04a7fd23efa4deaeda306b.tar.gz
llvm-22998738e8f78b447b04a7fd23efa4deaeda306b.tar.bz2
[SamplePGO] Keeping prof metadata for IndirectBrInst
Currently prof metadata with branch counts is added only for BranchInst and SwitchInst, but not for IndirectBrInst. As a result, BPI/BFI make incorrect inferences for indirect branches, which can be very hot. This diff adds metadata for IndirectBrInst, in addition to BranchInst and SwitchInst. Reviewed By: wmi, wenlei Differential Revision: https://reviews.llvm.org/D99550
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/ThreadGDBRemote.cpp')
0 files changed, 0 insertions, 0 deletions