Go to file
Francis Ricci bdb8b58d16 Don't assume PTHREAD_CREATE_JOINABLE is 0 on all systems
Summary:
Lsan was using PTHREAD_CREATE_JOINABLE/PTHREAD_CREATE_DETACHED
as truthy values, which works on Linux, where the values are 0 and 1,
but this fails on OS X, where the values are 1 and 2.

Set PTHREAD_CREATE_DETACHED to the correct value for a given system.

Reviewers: kcc, glider, kubamracek, alekseyshl

Subscribers: llvm-commits

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

llvm-svn: 300221
2017-04-13 17:28:52 +00:00
clang Use the clang-cl recognized spelling of --target= 2017-04-13 16:36:28 +00:00
clang-tools-extra Fix clang-tidy shared link with libc++ 2017-04-12 22:07:47 +00:00
compiler-rt Don't assume PTHREAD_CREATE_JOINABLE is 0 on all systems 2017-04-13 17:28:52 +00:00
debuginfo-tests Add an end-to-end testcase for address sanitizer. 2017-04-06 23:36:44 +00:00
libclc math: Implement sinh function 2017-02-25 02:46:53 +00:00
libcxx Implement LWG#2855 - made easy by previous refactoring 2017-04-13 16:57:42 +00:00
libcxxabi [CMake][libcxxabi] Use -nodefaultlibs for CMake checks 2017-04-07 20:10:41 +00:00
libunwind Reland "[CMake][libunwind] Use -nodefaultlibs for CMake checks" 2017-04-12 02:28:07 +00:00
lld [ELF] Tidy up handleARMTlsRelocation [NFC] 2017-04-13 10:56:40 +00:00
lldb Don't use uuid_clear(), non-darwin platforms include 2017-04-13 02:12:32 +00:00
llgo benchcomp: Add a mode for analyzing file sizes. 2017-04-03 19:13:12 +00:00
llvm [APInt] Fix the returns description for the postfix increment/decrement operators. NFC 2017-04-13 17:12:00 +00:00
openmp KMP_HW_SUBSET extended with NUMA support when HWLOC enabled 2017-04-13 17:15:07 +00:00
parallel-libs [Axccel] Remove -Wno-missing-braces in build 2016-12-19 21:34:07 +00:00
polly [DeLICM] Introduce unittesting infrastructure for Known and Written. NFC. 2017-04-13 16:32:46 +00:00