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
..
2018-01-30 22:22:12 +00:00
2017-10-25 21:40:17 +00:00
2017-02-24 00:13:28 +00:00
2016-08-15 15:14:08 +00:00
2017-07-18 19:11:04 +00:00
2016-10-21 21:37:18 +00:00
2016-08-18 10:50:46 +00:00
2016-08-18 10:50:46 +00:00
2016-12-08 06:30:58 +00:00
2017-05-09 17:58:33 +00:00
2016-08-18 10:50:46 +00:00
2016-12-08 06:30:58 +00:00
2016-08-18 10:50:46 +00:00
2017-12-12 19:17:52 +00:00
2016-08-18 10:50:46 +00:00
2016-08-18 10:50:46 +00:00
2016-08-18 10:50:46 +00:00
2016-08-18 10:50:46 +00:00
2016-08-18 10:50:46 +00:00
2018-01-10 20:27:48 +00:00
2016-12-06 22:02:21 +00:00
2017-03-30 07:25:33 +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
2016-12-15 22:00:14 +00:00
2017-12-09 00:41:59 +00:00
2017-12-09 00:36:49 +00:00
2017-04-10 17:58:03 +00:00
2017-04-10 17:58:03 +00:00
2017-10-25 17:09:05 +00:00
2017-12-12 19:17:52 +00:00
2016-08-25 17:05:56 +00:00
2016-10-23 00:55:12 +00:00
2016-12-08 06:30:58 +00:00
2017-12-09 13:35:52 +00:00
2017-05-11 11:12:26 +00:00
2016-11-07 21:02:56 +00:00
2018-02-21 18:03:50 +00:00
2017-12-09 00:37:20 +00:00
2016-12-08 06:30:58 +00:00
2016-11-07 21:02:56 +00:00
2016-11-07 21:02:56 +00:00
2017-09-05 21:08:56 +00:00
2017-09-05 21:08:56 +00:00
2016-08-16 12:49:54 +00:00
2017-06-01 09:37:22 +00:00
2017-10-25 21:40:17 +00:00
2018-02-10 14:36:55 +00:00
2017-12-09 00:37:58 +00:00
2018-01-10 20:27:48 +00:00
2017-05-11 14:04:23 +00:00