Files
clang-p2996/compiler-rt/test/msan
Maxim Kuvyrkov 6b287234ea Fix racy msan test
Summary:
Child thread may finish before pthread_setname_np() and/or
pthread_getname_np() had a chance to run, which causes these functions
to fail with ENOENT (meaning /proc/self/task/[tid]/comm doesn't exist).

Fix by stalling child thread on a mutex.

Reviewers: eugenis

Reviewed By: eugenis

Subscribers: llvm-commits, #sanitizers

Differential Revision: https://reviews.llvm.org/D43548

llvm-svn: 325703
2018-02-21 18:03:50 +00:00
..
2017-10-25 21:40:17 +00:00
2017-02-24 00:13:28 +00:00
2018-01-03 22:28:39 +00:00
2017-12-09 00:36:17 +00:00
2017-03-16 01:06:22 +00:00
2017-12-09 00:41:59 +00:00
2017-12-09 00:36:49 +00:00
2017-10-25 17:09:05 +00:00
2018-02-21 18:03:50 +00:00
2017-10-25 21:40:17 +00:00