{"push_id":1175905071,"size":1,"distinct_size":1,"ref":"refs/heads/master","head":"f61c4d680ad40829ea1923af1a5452c03ab7028c","before":"8ec81ae4bda307e683f25ffd7b2caf2d65aa18ad","commits":[{"sha":"f61c4d680ad40829ea1923af1a5452c03ab7028c","author":{"name":"Kuba Brecka","email":"893b177b5ee228ca872c6fece652e12874c3943c@gmail.com"},"message":"[tsan] Intercept libcxx __release_shared to avoid false positive with weak_ptrs and destructors in C++\n\nThere is a \"well-known\" TSan false positive when using C++ weak_ptr/shared_ptr and code in destructors, e.g. described at <https://llvm.org/bugs/show_bug.cgi?id=22324>. The \"standard\" solution is to build and use a TSan-instrumented version of libcxx, which is not trivial for end-users. This patch tries a different approach (on OS X): It adds an interceptor for the specific function in libc++.dylib, which implements the atomic operation that needs to be visible to TSan.\n\nDifferential Revision: http://reviews.llvm.org/D21609\n\n\n\ngit-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@273806 91177308-0d34-0410-b5e6-96231b3b80d8","distinct":true,"url":"https://api.github.com/repos/kraj/compiler-rt/commits/f61c4d680ad40829ea1923af1a5452c03ab7028c"}]}
{"actor":{"display_login":"kraj"}}