summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/Statistic.cpp
diff options
context:
space:
mode:
authorPeter Collingbourne <peter@pcc.me.uk>2015-08-18 22:31:24 +0000
committerPeter Collingbourne <peter@pcc.me.uk>2015-08-18 22:31:24 +0000
commit4cfa086df275f673591c356dda5c0f3c6b114127 (patch)
treeb17dbfd986c2d63fa9cf0d35b60495f528bf5b60 /llvm/lib/Support/Statistic.cpp
parent2ad6ac546177204bdb224c614619fc5ca0181a35 (diff)
downloadbcm5719-llvm-4cfa086df275f673591c356dda5c0f3c6b114127.tar.gz
bcm5719-llvm-4cfa086df275f673591c356dda5c0f3c6b114127.zip
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 llvm-svn: 245374
Diffstat (limited to 'llvm/lib/Support/Statistic.cpp')
-rw-r--r--llvm/lib/Support/Statistic.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Support/Statistic.cpp b/llvm/lib/Support/Statistic.cpp
index 56c3b0f5659..ee6c1305cdb 100644
--- a/llvm/lib/Support/Statistic.cpp
+++ b/llvm/lib/Support/Statistic.cpp
@@ -24,6 +24,7 @@
#include "llvm/ADT/Statistic.h"
#include "llvm/ADT/StringExtras.h"
#include "llvm/Support/CommandLine.h"
+#include "llvm/Support/Compiler.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/Format.h"
#include "llvm/Support/ManagedStatic.h"
OpenPOWER on IntegriCloud