Revert to C-style callbacks for iteration over allocator chunks.

Also clean up LSan code, fix some comments and replace void* with uptr
to bring down the number of reinterpret_casts.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184700 91177308-0d34-0410-b5e6-96231b3b80d8
[lsan] Fix android build.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184704 91177308-0d34-0410-b5e6-96231b3b80d8
[sanitizer] Intercept readv, preadv, writev, pwritev.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184717 91177308-0d34-0410-b5e6-96231b3b80d8
[msan] Unpoison param-tls in signal handler wrapper.

This an entry point from uninstrumented code.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184734 91177308-0d34-0410-b5e6-96231b3b80d8
[sanitizer] Intercept inet_aton.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184735 91177308-0d34-0410-b5e6-96231b3b80d8
[sanitizer] Fix TSan build.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184736 91177308-0d34-0410-b5e6-96231b3b80d8
[sanitizer] Intercept sysinfo.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184739 91177308-0d34-0410-b5e6-96231b3b80d8
tsan: update dynamic export syms file
now it includes proper functions (including interceptors)
and does not include local functions that lead to build failures


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184747 91177308-0d34-0410-b5e6-96231b3b80d8
tsan: make the test more robust
currently it episodically fails
the hypothesis it is due to racy race detection algorithm
the sleep should make it more robust


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184752 91177308-0d34-0410-b5e6-96231b3b80d8