tsan: fix Go build
Go linker does not like function-static objects.



git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@200534 91177308-0d34-0410-b5e6-96231b3b80d8
Make signal-related functions use __sanitizer_* structures instead of __sanitizer_kernel_* ones.
Also rename internal_sigaction() into internal_sigaction_norestorer(), as this function doesn't fully
implement the sigaction() functionality on Linux.

This change is a part of refactoring intended to have common signal handling behavior in all tools.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@200535 91177308-0d34-0410-b5e6-96231b3b80d8
Fix compilation: don't convert NULL to a pointer-incompatible type.


git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@200536 91177308-0d34-0410-b5e6-96231b3b80d8
[ASan] Run LSan for ASan unit tests only on 64-bit Linux

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