forked from OSchip/llvm-project
c579c658cd
This test specifically checks that profiles are not mergeable if there's a change in the CounterPtr in the profile header. The test manually changes CounterPtr by explicitly calling memset on some offset into the profile file. This test would fail if binary IDs were emitted because the offset calculation does not take into account the binary ID sizes. This patch updates the test to use types provided in profile/InstrProfData.inc to make it more resistant to profile layout changes. Differential Revision: https://reviews.llvm.org/D110277 |
||
---|---|---|
.. | ||
Inputs | ||
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 |