llvm-project/compiler-rt/test/profile/ContinuousSyncMode
Vedant Kumar 47481cbffb [test] Deflake test/profile/ContinuousSyncMode/online-merging.c
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
2020-07-02 13:31:56 -07:00
..
basic.c [profile] Support counter relocation at runtime 2020-01-17 15:02:23 -08:00
darwin-proof-of-concept.c
multiple-DSOs.c [profile] Support counter relocation at runtime 2020-01-17 15:02:23 -08:00
online-merging.c [test] Deflake test/profile/ContinuousSyncMode/online-merging.c 2020-07-02 13:31:56 -07:00
pid-substitution.c [profile] Support counter relocation at runtime 2020-01-17 15:02:23 -08:00
runtime-counter-relocation.c [profile] Support counter relocation at runtime 2020-01-17 15:02:23 -08:00
set-file-object.c [profile] Support counter relocation at runtime 2020-01-17 15:02:23 -08:00
set-filename.c [profile] Support counter relocation at runtime 2020-01-17 15:02:23 -08:00