1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-26 04:32:44 +01:00
llvm-mirror/lib/ProfileData
Wei Mi b265118981 Recommit [SampleFDO] Expose an interface to return the size of a section
or the size of the profile for profile in ExtBinary format.

Fix a test failure on Mac.

[SampleFDO] Expose an interface to return the size of a section or the
size of the profile for profile in ExtBinary format.

Sometimes we want to limit the size of the profile by stripping some functions
with low sample count or by stripping some function names with small text size
from profile symbol list. That requires the profile reader to have the
interfaces returning the size of a section or the size of total profile. The
patch add those interfaces.

At the same time, add some dump facility to show the size of each section.

Differential revision: https://reviews.llvm.org/D67726

llvm-svn: 372478
2019-09-21 17:23:55 +00:00
..
Coverage [Object] Extend MachOUniversalBinary::getObjectForArch 2019-09-19 00:02:12 +00:00
CMakeLists.txt Revert "test commit" 2019-08-11 05:59:20 +00:00
GCOV.cpp [llvm] Migrate llvm::make_unique to std::make_unique 2019-08-15 15:54:37 +00:00
InstrProf.cpp Cleanup: llvm::bsearch -> llvm::partition_point after r364719 2019-06-30 11:19:56 +00:00
InstrProfReader.cpp [PGO] Change hardcoded thresholds for cold/inlinehint to use summary 2019-09-17 23:12:13 +00:00
InstrProfWriter.cpp [llvm-profdata] Add overlap command to compute similarity b/w two profile files 2019-04-30 21:19:12 +00:00
LLVMBuild.txt Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
ProfileSummaryBuilder.cpp [llvm] Migrate llvm::make_unique to std::make_unique 2019-08-15 15:54:37 +00:00
SampleProf.cpp Fix some errors introduced by rL370563 which were not exposed on my local machine. 2019-08-31 03:17:49 +00:00
SampleProfReader.cpp Recommit [SampleFDO] Expose an interface to return the size of a section 2019-09-21 17:23:55 +00:00
SampleProfWriter.cpp [SampleFDO] Add profile symbol list section to discriminate function being 2019-08-31 02:27:26 +00:00