forked from OSchip/llvm-project
![]() This test spawns 32 child processes which race to update counters on shared memory pages. On some Apple-internal machines, two processes race to perform an update in approximately 0.5% of the test runs, leading to dropped counter updates. Deflake the test by using atomic increments. Tested with: ``` $ for I in $(seq 1 1000); do echo ":: Test run $I..."; ./bin/llvm-lit projects/compiler-rt/test/profile/Profile-x86_64h/ContinuousSyncMode/online-merging.c -av || break; done ``` rdar://64956774 |
||
---|---|---|
.. | ||
basic.c | ||
darwin-proof-of-concept.c | ||
multiple-DSOs.c | ||
online-merging.c | ||
pid-substitution.c | ||
runtime-counter-relocation.c | ||
set-file-object.c | ||
set-filename.c |