1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 12:12:47 +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 [llvm-profdata] Make diagnostics consistent with the (no capitalization, no period) style 2021-06-19 14:54:25 -07:00
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 [llvm-profdata] Make diagnostics consistent with the (no capitalization, no period) style 2021-06-19 14:54:25 -07:00
invalid-profile-gen-zeros.proftext [llvm-profdata] Make diagnostics consistent with the (no capitalization, no period) style 2021-06-19 14:54:25 -07:00
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 [test] Fix nocompress.test 2021-06-19 16:27:53 -07:00
overflow-instr.test [llvm-profdata] Make diagnostics consistent with the (no capitalization, no period) style 2021-06-19 14:54:25 -07:00
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 [llvm-profdata] Make diagnostics consistent with the (no capitalization, no period) style 2021-06-19 14:54:25 -07:00
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 [llvm-profdata] Allow omission of -o for --text output 2021-06-21 12:01:57 -07:00
text-format-errors.test [llvm-profdata] Make diagnostics consistent with the (no capitalization, no period) style 2021-06-19 14:54:25 -07:00
threaded-count-mismatch.test [llvm-profdata] Make diagnostics consistent with the (no capitalization, no period) style 2021-06-19 14:54:25 -07:00
value-prof.proftext
weight-instr.test [llvm-profdata] Make diagnostics consistent with the (no capitalization, no period) style 2021-06-19 14:54:25 -07:00
weight-sample.test [llvm-profdata] Make diagnostics consistent with the (no capitalization, no period) style 2021-06-19 14:54:25 -07:00