llvm-project/compiler-rt/test/profile/Linux
Leonard Chan c579c658cd [compiler-rt][profile] Make corrupted-profile.c more robust
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
2021-09-23 17:16:47 -07:00
..
Inputs [test] Improve PGO tests 2021-03-03 11:32:24 -08:00
binary-id.c [profile] Fix profile merging with binary IDs 2021-07-30 18:54:27 -07:00
comdat_rename.test compiler-rt: Rename remaining cc files in test/profile to cpp 2019-08-05 13:42:31 +00:00
corrupted-profile.c [compiler-rt][profile] Make corrupted-profile.c more robust 2021-09-23 17:16:47 -07:00
counter_promo_for.c Revert "[BPI] Improve static heuristics for integer comparisons" 2020-08-17 20:44:33 +02:00
counter_promo_nest.c
counter_promo_while.c Revert "[BPI] Improve static heuristics for integer comparisons" 2020-08-17 20:44:33 +02:00
coverage-linkage-lld.cpp [profile] Add -fprofile-instr-generate tests for weak definition and various linkages 2021-06-04 10:26:55 -07:00
coverage-linkage.cpp [profile][test] Improve coverage-linkage.cpp with ld.lld --gc-sections 2021-07-06 11:08:47 -07:00
coverage-weak-lld.cpp [profile] Add -fprofile-instr-generate tests for weak definition and various linkages 2021-06-02 16:12:08 -07:00
coverage_ctors.cpp [test] Fix compiler-rt/test/profile/coverage_emptylines.cpp if the build directory is under /tmp 2020-12-10 16:57:10 -08:00
coverage_dtor.cpp [test] Fix compiler-rt/test/profile/coverage_emptylines.cpp if the build directory is under /tmp 2020-12-10 16:57:10 -08:00
coverage_shared.test
coverage_test.cpp [test] Fix compiler-rt/test/profile/coverage_emptylines.cpp if the build directory is under /tmp 2020-12-10 16:57:10 -08:00
extern_template.test
instrprof-alloc.test
instrprof-basic.c Revert "Use uint64_t for branch weights instead of uint32_t" 2020-10-31 00:25:32 -07:00
instrprof-comdat.test [profile][test] Delete --path-equivalence=/tmp,%S 2021-07-31 00:36:17 -07:00
instrprof-cs.c Reapply commit b7425e956 2021-08-16 12:18:40 -07:00
instrprof-dir.c
instrprof-dlopen.test
instrprof-dynamic-one-shared.test
instrprof-dynamic-two-shared.test
instrprof-file_ex.test
instrprof-merge-vp.c [Profile] Handle invalid profile data 2021-06-10 16:10:13 -07:00
instrprof-value-merge-lld.c [profile][test] Add -no-pie to make value profile merge work on Linux with default PIE 2021-08-11 22:41:52 -07:00
instrprof-value-merge.c [profile][test] Add -no-pie to make value profile merge work on Linux with default PIE 2021-08-11 22:41:52 -07:00
instrprof-value-prof-visibility.test
instrprof-value-prof-warn.test [profile][test] Pin Linux/instrprof-value-prof-warn.test to -fuse-ld=bfd 2021-03-05 00:52:25 -08:00
lit.local.cfg.py