1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-18 10:32:48 +02:00
llvm-mirror/include/llvm/ProfileData
Petr Hosek fd411b2b5d [profile] Fix profile merging with binary IDs
This fixes support for merging profiles which broke as a consequence
of e50a38840dc3db5813f74b1cd2e10e6d984d0e67. The issue was missing
adjustment in merge logic to account for the binary IDs which are
now included in the raw profile just after header.

In addition, this change also:
* Includes the version in module signature that's used for merging
to avoid accidental attempts to merge incompatible profiles.
* Moves the binary IDs size field after version field in the header
as was suggested in the review.

Differential Revision: https://reviews.llvm.org/D107143

(cherry picked from commit 83302c84890e5e6cb74c7d6c9f8eaaa56db0077c)
2021-08-12 22:46:22 -07:00
..
Coverage [llvm-cov] Enforce alignment of function records 2021-06-25 10:56:06 +02:00
GCOV.h [llvm-cov gcov] Support GCC 12 format 2021-06-19 22:51:20 -07:00
InstrProf.h [profile] Fix profile merging with binary IDs 2021-08-12 22:46:22 -07:00
InstrProfData.inc [profile] Fix profile merging with binary IDs 2021-08-12 22:46:22 -07:00
InstrProfReader.h [profile] Add binary id into profiles 2021-07-23 00:19:12 +00:00
InstrProfWriter.h [llvm-profdata] Emit Error when Invalid MemOpSize Section is Created by llvm-profdata 2021-02-23 12:51:54 -08:00
ProfileCommon.h [CSSPGO][llvm-profdata] Support trimming cold context when merging profiles 2021-04-22 00:42:37 -07:00
SampleProf.h [CSSPGO] Report zero-count probe in profile instead of dangling probes. 2021-06-16 11:45:29 -07:00
SampleProfReader.h [SampleFDO] New hierarchical discriminator for FS SampleFDO (llvm-profdata part) 2021-06-04 11:22:06 -07:00
SampleProfWriter.h [CSSPGO] Fix dangling context strings and improve profile order consistency and error handling 2021-04-10 12:39:10 -07:00