diff options
author | Rong Xu <xur@google.com> | 2021-02-16 14:44:09 -0800 |
---|---|---|
committer | Rong Xu <xur@google.com> | 2021-02-16 16:43:21 -0800 |
commit | 6fd5ccff72eeaffcb3b3ba2696282015aab755bc (patch) | |
tree | e38a0e1f97b38f013b7f8904642dbd79eddebb18 /llvm/tools/llvm-libtool-darwin/llvm-libtool-darwin.cpp | |
parent | d1a838babcc3360eb7e311006a4acd1eee61b8f2 (diff) | |
download | llvm-6fd5ccff72eeaffcb3b3ba2696282015aab755bc.zip llvm-6fd5ccff72eeaffcb3b3ba2696282015aab755bc.tar.gz llvm-6fd5ccff72eeaffcb3b3ba2696282015aab755bc.tar.bz2 |
[SampleFDO] Reapply: Refactor SampleProfile.cpp
Reapply patch after fixing buildbot failure.
Refactor SampleProfile.cpp to use the core code in CodeGen.
The main changes are:
(1) Move SampleProfileLoaderBaseImpl class to a header file.
(2) Split SampleCoverageTracker to a head file and a cpp file.
(3) Move the common codes (common options and callsiteIsHot())
to the common cpp file.
Differential Revision: https://reviews.llvm.org/D96455
Diffstat (limited to 'llvm/tools/llvm-libtool-darwin/llvm-libtool-darwin.cpp')
0 files changed, 0 insertions, 0 deletions