tsan: intercept libc __res_iclose
authorDmitry Vyukov <dvyukov@google.com>
Thu, 7 Feb 2013 15:27:45 +0000 (15:27 +0000)
committerDmitry Vyukov <dvyukov@google.com>
Thu, 7 Feb 2013 15:27:45 +0000 (15:27 +0000)
commiteffd98b0f47e2bcb30e1e67305c753855dd897c3
treeb42297dd5cc3f794546247d338aaf5a5cc6a26ff
parent804f9116e5ed05b5a9f2a3f955c480480967c269
tsan: intercept libc __res_iclose
this is required to catch close of file descriptors created in getaddrinfo()

llvm-svn: 174624
compiler-rt/lib/tsan/rtl/tsan_interceptors.cc
compiler-rt/lib/tsan/rtl/tsan_platform.h
compiler-rt/lib/tsan/rtl/tsan_platform_linux.cc
compiler-rt/lib/tsan/rtl/tsan_stat.cc
compiler-rt/lib/tsan/rtl/tsan_stat.h