Support: Clean up TSan annotations.
authorPeter Collingbourne <peter@pcc.me.uk>
Tue, 18 Aug 2015 22:31:24 +0000 (22:31 +0000)
committerPeter Collingbourne <peter@pcc.me.uk>
Tue, 18 Aug 2015 22:31:24 +0000 (22:31 +0000)
commitbf5dca59309d5a2947b35d0d67c51a14ea9dcda6
treeddbee4de152d84abd42abdb0239585e15a484a0c
parent07c6bd849291269bff9700bbc337732e4e2896ee
Support: Clean up TSan annotations.

Remove support for Valgrind-based TSan, which hasn't been maintained for a
few years. We now use the TSan annotations only if LLVM is compiled with
-fsanitize=thread. We no longer need the weak function definitions as we
are guaranteed that our program is linked directly with the TSan runtime.

Differential Revision: http://reviews.llvm.org/D12121

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@245374 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/PassSupport.h
include/llvm/Support/Compiler.h
include/llvm/Support/ManagedStatic.h
include/llvm/Support/Valgrind.h
lib/Support/ManagedStatic.cpp
lib/Support/Statistic.cpp
lib/Support/Valgrind.cpp