summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api/target/TestTargetAPI.py
diff options
context:
space:
mode:
authorDehao Chen <dehao@google.com>2017-02-28 18:09:44 +0000
committerDehao Chen <dehao@google.com>2017-02-28 18:09:44 +0000
commita60cdd38812d2f2cc32a2446b24bca607a1f6341 (patch)
tree491cf2321050cee91fb50fff4a65f58a900374fe /lldb/packages/Python/lldbsuite/test/python_api/target/TestTargetAPI.py
parent2fdabb055d4179fc4e71d8708ab0a352b842fbba (diff)
downloadbcm5719-llvm-a60cdd38812d2f2cc32a2446b24bca607a1f6341.tar.gz
bcm5719-llvm-a60cdd38812d2f2cc32a2446b24bca607a1f6341.zip
Add function importing info from samplepgo profile to the module summary.
Summary: For SamplePGO, the profile may contain cross-module inline stacks. As we need to make sure the profile annotation happens when all the hot inline stacks are expanded, we need to pass this info to the module importer so that it can import proper functions if necessary. This patch implemented this feature by emitting cross-module targets as part of function entry metadata. In the module-summary phase, the metadata is used to build call edges that points to functions need to be imported. Reviewers: mehdi_amini, tejohnson Reviewed By: tejohnson Subscribers: davidxl, llvm-commits Differential Revision: https://reviews.llvm.org/D30053 llvm-svn: 296498
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/target/TestTargetAPI.py')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud