diff options
author | Vedant Kumar <vsk@apple.com> | 2020-07-02 13:28:48 -0700 |
---|---|---|
committer | Vedant Kumar <vsk@apple.com> | 2020-07-02 13:31:56 -0700 |
commit | 47481cbffbefb399e672cf056c15323917bf43bf (patch) | |
tree | 92852e64ece0369cdf90886f723af9028af001b9 /llvm/tools/llvm-objcopy/ELF/Object.cpp | |
parent | 359345d609043543e6480954c535d8d5074a5a94 (diff) | |
download | llvm-47481cbffbefb399e672cf056c15323917bf43bf.zip llvm-47481cbffbefb399e672cf056c15323917bf43bf.tar.gz llvm-47481cbffbefb399e672cf056c15323917bf43bf.tar.bz2 |
[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
Diffstat (limited to 'llvm/tools/llvm-objcopy/ELF/Object.cpp')
0 files changed, 0 insertions, 0 deletions