summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/tsan/tests/unit/tsan_platform_test.cc
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2012-11-28 10:35:31 +0000
committerDmitry Vyukov <dvyukov@google.com>2012-11-28 10:35:31 +0000
commit2429b027703b96e99a275d71ed75fde6492bb779 (patch)
tree28425449c58d64164bac64cf3359a8b9ae2d48ed /compiler-rt/lib/tsan/tests/unit/tsan_platform_test.cc
parenta873623e54b4d32ff7b1aada54eaf2476135d3a7 (diff)
downloadbcm5719-llvm-2429b027703b96e99a275d71ed75fde6492bb779.tar.gz
bcm5719-llvm-2429b027703b96e99a275d71ed75fde6492bb779.zip
tsan: move traces from tls into dedicated storage at fixed address
helps to reduce tls size (it's weird to have multi-MB tls) will help with dynamically adjustable trace size llvm-svn: 168783
Diffstat (limited to 'compiler-rt/lib/tsan/tests/unit/tsan_platform_test.cc')
-rw-r--r--compiler-rt/lib/tsan/tests/unit/tsan_platform_test.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler-rt/lib/tsan/tests/unit/tsan_platform_test.cc b/compiler-rt/lib/tsan/tests/unit/tsan_platform_test.cc
index 64c4499fbea..b43dbb4e4ff 100644
--- a/compiler-rt/lib/tsan/tests/unit/tsan_platform_test.cc
+++ b/compiler-rt/lib/tsan/tests/unit/tsan_platform_test.cc
@@ -12,6 +12,7 @@
//===----------------------------------------------------------------------===//
#include "sanitizer_common/sanitizer_libc.h"
#include "tsan_platform.h"
+#include "tsan_rtl.h"
#include "gtest/gtest.h"
namespace __tsan {
OpenPOWER on IntegriCloud