1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 18:54:02 +01:00
llvm-mirror/test/tools/llvm-profdata
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
..
Inputs [profile] Fix profile merging with binary IDs 2021-08-12 22:46:22 -07:00
c-general.test [profile] Add binary id into profiles 2021-07-23 00:19:12 +00:00
compact-sample.proftext
compat.proftext
count-mismatch.proftext
cs-sample-profile.test
cs-sample-trimmer.test
csprof-dump.test
cutoff.test
gcc-gcov-sample-profile.test
general.proftext
hash-mismatch.proftext
header-directives.test
inline-samples.test
input-dir.test
input-filenames.test
instr-remap.test
invalid-profdata.test
invalid-profile-gen-zeros.proftext
lit.local.cfg
malformed-ptr-to-counter-array.test [profile] Fix profile merging with binary IDs 2021-08-12 22:46:22 -07:00
memop-size-prof.proftext
merge_empty_profile.test
merge-incompatible.test
merge-probe-profile.test
multiple-inputs.test
multiple-profdata-merge.test
nocompress.test
overflow-instr.test
overflow-sample.test
overlap_cs.test
overlap_vp.test
overlap.test
profile-symbol-list-compress.test
profile-symbol-list.test
raw-32-bits-be.test [profile] Fix profile merging with binary IDs 2021-08-12 22:46:22 -07:00
raw-32-bits-le.test [profile] Fix profile merging with binary IDs 2021-08-12 22:46:22 -07:00
raw-64-bits-be.test [profile] Fix profile merging with binary IDs 2021-08-12 22:46:22 -07:00
raw-64-bits-le.test [profile] Fix profile merging with binary IDs 2021-08-12 22:46:22 -07:00
raw-magic-but-no-header.test
raw-two-profiles.test [profile] Fix profile merging with binary IDs 2021-08-12 22:46:22 -07:00
roundtrip-compress.test
roundtrip.test
same-filename.test
sample-fs.test
sample-hot-func-list.test
sample-overlap.test
sample-profile-basic.test
sample-remap.test
sample-summary.test
show-instr-level.test
show-prof-info.test
suppl-instr-with-sample.test
text-dump.test
text-format-errors.test
threaded-count-mismatch.test
value-prof.proftext
weight-instr.test
weight-sample.test