forked from OSchip/llvm-project
b9f547e8e5
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 |
||
---|---|---|
.. | ||
Inputs | ||
binary-id-padding.c | ||
binary-id.c | ||
comdat_rename.test | ||
corrupted-profile.c | ||
counter_promo_for.c | ||
counter_promo_nest.c | ||
counter_promo_while.c | ||
coverage-linkage-lld.cpp | ||
coverage-linkage.cpp | ||
coverage-weak-lld.cpp | ||
coverage_ctors.cpp | ||
coverage_dtor.cpp | ||
coverage_shared.test | ||
coverage_test.cpp | ||
extern_template.test | ||
instrprof-alloc.test | ||
instrprof-basic.c | ||
instrprof-comdat.test | ||
instrprof-cs.c | ||
instrprof-dir.c | ||
instrprof-dlopen.test | ||
instrprof-dynamic-one-shared.test | ||
instrprof-dynamic-two-shared.test | ||
instrprof-file_ex.test | ||
instrprof-merge-vp.c | ||
instrprof-value-merge-lld.c | ||
instrprof-value-merge.c | ||
instrprof-value-prof-visibility.test | ||
instrprof-value-prof-warn.test | ||
lit.local.cfg.py |