summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/support/encoded_file.py
diff options
context:
space:
mode:
authorMaxim Kuvyrkov <maxim.kuvyrkov@gmail.com>2018-02-21 18:03:50 +0000
committerMaxim Kuvyrkov <maxim.kuvyrkov@gmail.com>2018-02-21 18:03:50 +0000
commit6b287234ea0a8d5a5533a1b687c1cbaddffa6404 (patch)
tree1ddae823deb77f07b1af77c481686dfe68141056 /lldb/packages/Python/lldbsuite/support/encoded_file.py
parent44499631a886637412a521802682eecee5927394 (diff)
downloadbcm5719-llvm-6b287234ea0a8d5a5533a1b687c1cbaddffa6404.tar.gz
bcm5719-llvm-6b287234ea0a8d5a5533a1b687c1cbaddffa6404.zip
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
Diffstat (limited to 'lldb/packages/Python/lldbsuite/support/encoded_file.py')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud