llvm-project/llvm/test/tools/llvm-profdata
Leonard Chan b9f547e8e5 [llvm][profile] Add padding after binary IDs
Some tests with binary IDs would fail with error: no profile can be merged.
This is because raw profiles could have unaligned headers when emitting binary
IDs. This means padding should be emitted after binary IDs are emitted to
ensure everything else is aligned. This patch adds padding after each binary ID
to ensure the next binary ID size is 8-byte aligned. This also adds extra
checks to ensure we aren't reading corrupted data when printing binary IDs.

Differential Revision: https://reviews.llvm.org/D110365
2021-09-28 11:50:50 -07:00
..
Inputs Fixed a bug in https://reviews.llvm.org/rG8eb617d719bdc6a4ed7773925d2421b9bbdd4b7a. 2021-09-24 15:23:45 -07:00
binary-ids-padding.test [llvm][profile] Add padding after binary IDs 2021-09-28 11:50:50 -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 [CSSPGO][llvm-profdata] Support trimming cold context when merging profiles 2021-04-22 00:42:37 -07:00
csprof-dump.test
cutoff.test
forward-compatible.test Add "REQUIRES: zlib" in forward-compatible.test since it handles compressed file. 2021-09-24 15:35:07 -07:00
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
insufficient-binary-ids-size.test [llvm][profile] Add padding after binary IDs 2021-09-28 11:50:50 -07:00
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
large-binary-id-size.test [llvm][profile] Add padding after binary IDs 2021-09-28 11:50:50 -07:00
lit.local.cfg
malformed-ptr-to-counter-array.test [profile] Fix profile merging with binary IDs 2021-07-30 18:54:27 -07:00
memop-size-prof.proftext
merge-incompatible.test
merge-probe-profile.test
merge_empty_profile.test
misaligned-binary-ids-size.test [llvm][profile] Add padding after binary IDs 2021-09-28 11:50:50 -07:00
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.test
overlap_cs.test
overlap_vp.test
profile-symbol-list-compress.test
profile-symbol-list.test
raw-32-bits-be.test [profile] Fix profile merging with binary IDs 2021-07-30 18:54:27 -07:00
raw-32-bits-le.test [profile] Fix profile merging with binary IDs 2021-07-30 18:54:27 -07:00
raw-64-bits-be.test [profile] Fix profile merging with binary IDs 2021-07-30 18:54:27 -07:00
raw-64-bits-le.test [profile] Fix profile merging with binary IDs 2021-07-30 18:54:27 -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-07-30 18:54:27 -07:00
roundtrip-compress.test
roundtrip.test
same-filename.test
sample-fs.test [SampleFDO] Set ProfileIsFS bit properly from the internal option 2021-08-25 09:07:34 -07:00
sample-hot-func-list.test [llvm-profdata] Extend support of --topn to sample profiles 2021-09-24 16:42:46 -07:00
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