[PATCH] D33325: [sanitizer] Avoid possible deadlock in child process after fork

Maxim Ostapenko via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 24 09:08:41 PDT 2017


m.ostapenko updated this revision to Diff 100110.
m.ostapenko added a comment.

Removing TSan part. The attached testcase still hangs with TSan, but since locking allocator is problematic let's leave TSan alone.


Repository:
  rL LLVM

https://reviews.llvm.org/D33325

Files:
  lib/asan/asan_allocator.cc
  lib/asan/asan_allocator.h
  lib/asan/asan_interceptors.cc
  lib/lsan/lsan_interceptors.cc
  lib/msan/msan_allocator.cc
  lib/msan/msan_allocator.h
  lib/msan/msan_interceptors.cc
  test/sanitizer_common/TestCases/Linux/allocator_fork_no_hang.cc

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D33325.100110.patch
Type: text/x-patch
Size: 15030 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170524/029cfd21/attachment.bin>


More information about the llvm-commits mailing list