tsan: intercept vfork
commitccf6a360fb5c80e3f1586f093eb44757d3592745
authorDmitry Vyukov <dvyukov@google.com>
Thu, 27 Feb 2014 14:36:16 +0000 (27 14:36 +0000)
committerDmitry Vyukov <dvyukov@google.com>
Thu, 27 Feb 2014 14:36:16 +0000 (27 14:36 +0000)
tree3fdc88edf5837aee7e441519e143a68b30283e04
parentcda4580fe0d7c2565caf5df284a7dcf3ec479d5a
tsan: intercept vfork
this fixes obscure false positives
see the comments and the test for details

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@202400 91177308-0d34-0410-b5e6-96231b3b80d8
lib/tsan/rtl/tsan_interceptors.cc
test/tsan/vfork.cc [new file with mode: 0644]