summaryrefslogtreecommitdiffstats
path: root/llvm/docs/CommandGuide/llvm-readobj.rst
diff options
context:
space:
mode:
authorDehao Chen <dehao@google.com>2017-09-19 21:18:14 +0000
committerDehao Chen <dehao@google.com>2017-09-19 21:18:14 +0000
commit62b9c33e1e243b6bf45e5958610b2f03c499b601 (patch)
treeb06e1006529ce83594738ea3bcf6af8330b4876d /llvm/docs/CommandGuide/llvm-readobj.rst
parentc9c9748d99e663cb98663f7fbc6ac0b30bd8fa16 (diff)
downloadbcm5719-llvm-62b9c33e1e243b6bf45e5958610b2f03c499b601.tar.gz
bcm5719-llvm-62b9c33e1e243b6bf45e5958610b2f03c499b601.zip
Import all inlined indirect call targets for SamplePGO.
Summary: In the ThinLTO compilation, if a function is inlined in the profiling binary, we need to inline it before annotation. If the callee is not available in the primary module, a first step is needed to import that callee function. For the current implementation, if the call is an indirect call, which has been promoted to >1 targets and inlined, SamplePGO will only import one target with the largest sample count. This patch fixed the bug to import all targets instead. Reviewers: tejohnson, davidxl Reviewed By: tejohnson Subscribers: sanjoy, llvm-commits, mehdi_amini Differential Revision: https://reviews.llvm.org/D36637 llvm-svn: 313678
Diffstat (limited to 'llvm/docs/CommandGuide/llvm-readobj.rst')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud