diff options
author | Mircea Trofin <mtrofin@google.com> | 2018-02-22 06:42:57 +0000 |
---|---|---|
committer | Mircea Trofin <mtrofin@google.com> | 2018-02-22 06:42:57 +0000 |
commit | 56950974d41460b3bf77b7409ce5b32d2f2c6cf7 (patch) | |
tree | e7e1dbe45a178f59fe0897964edf88ecdffaabd7 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 3e4e74cbe5cb0a15dcb018b556caa1a344a3f4ea (diff) | |
download | bcm5719-llvm-56950974d41460b3bf77b7409ce5b32d2f2c6cf7.tar.gz bcm5719-llvm-56950974d41460b3bf77b7409ce5b32d2f2c6cf7.zip |
[SampleProf] NFC. Expose reusable functionality in SampleProfile.
Summary:
Exposing getOffset and findFunctionSamples as members of
SampleProfile. They are intimately tied to design choices of the
sample profile format - using offsets instead of line numbers, and
traversing inlined functions stack, respectively.
Reviewers: davidxl
Reviewed By: davidxl
Subscribers: llvm-commits
Differential Revision: https://reviews.llvm.org/D43605
llvm-svn: 325747
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions