diff options
author | Kuba Brecka <kuba.brecka@gmail.com> | 2015-11-21 12:41:36 +0000 |
---|---|---|
committer | Kuba Brecka <kuba.brecka@gmail.com> | 2015-11-21 12:41:36 +0000 |
commit | 5cbe1224396b2dc8a70605587168b0428b9d456f (patch) | |
tree | bb82f5949fab41ad39f5d820674a82137449dff5 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
parent | 4e6adaac4c057ad600ce64e75f9c2a151eb456be (diff) | |
download | llvm-5cbe1224396b2dc8a70605587168b0428b9d456f.zip llvm-5cbe1224396b2dc8a70605587168b0428b9d456f.tar.gz llvm-5cbe1224396b2dc8a70605587168b0428b9d456f.tar.bz2 |
[tsan] Fix detached threads in unit tests on OS X
We need to call the intercepted version of pthread_detach. Secondly, PTHREAD_CREATE_JOINABLE and PTHREAD_CREATE_DETACHED are not 0 and 1 on OS X, so we need to properly pass these constants and not just a bool.
Differential Revision: http://reviews.llvm.org/D14837
llvm-svn: 253775
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions