llvm-project/compiler-rt/test/profile/Linux
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 [test] Improve PGO tests 2021-03-03 11:32:24 -08:00
binary-id-padding.c [llvm][profile] Add padding after binary IDs 2021-09-28 11:50:50 -07: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 [compiler-rt] Rename lit.*.cfg.* -> lit.*.cfg.py.* 2019-06-27 20:56:04 +00:00