summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/tsan/rtl/tsan_rtl_mutex.cc
diff options
context:
space:
mode:
authorKostya Serebryany <kcc@google.com>2014-12-09 01:31:14 +0000
committerKostya Serebryany <kcc@google.com>2014-12-09 01:31:14 +0000
commit83ed889bbd1c8f442bef971ce20fb5f919ac9704 (patch)
treee472fe145234f0fe90ac03b8ffe637abcfae3676 /compiler-rt/lib/tsan/rtl/tsan_rtl_mutex.cc
parente72bf20687f62a35fb8851f99e5783070d3f8a97 (diff)
downloadbcm5719-llvm-83ed889bbd1c8f442bef971ce20fb5f919ac9704.tar.gz
bcm5719-llvm-83ed889bbd1c8f442bef971ce20fb5f919ac9704.zip
[tsan] remove TSAN_GO in favor of SANITIZER_GO
llvm-svn: 223732
Diffstat (limited to 'compiler-rt/lib/tsan/rtl/tsan_rtl_mutex.cc')
-rw-r--r--compiler-rt/lib/tsan/rtl/tsan_rtl_mutex.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler-rt/lib/tsan/rtl/tsan_rtl_mutex.cc b/compiler-rt/lib/tsan/rtl/tsan_rtl_mutex.cc
index 0807869d9ad..ddf2b69bdbb 100644
--- a/compiler-rt/lib/tsan/rtl/tsan_rtl_mutex.cc
+++ b/compiler-rt/lib/tsan/rtl/tsan_rtl_mutex.cc
@@ -88,7 +88,7 @@ void MutexCreate(ThreadState *thr, uptr pc, uptr addr,
void MutexDestroy(ThreadState *thr, uptr pc, uptr addr) {
DPrintf("#%d: MutexDestroy %zx\n", thr->tid, addr);
StatInc(thr, StatMutexDestroy);
-#ifndef TSAN_GO
+#ifndef SANITIZER_GO
// Global mutexes not marked as LINKER_INITIALIZED
// cause tons of not interesting reports, so just ignore it.
if (IsGlobalVar(addr))
@@ -405,7 +405,7 @@ void ReleaseStore(ThreadState *thr, uptr pc, uptr addr) {
s->mtx.Unlock();
}
-#ifndef TSAN_GO
+#ifndef SANITIZER_GO
static void UpdateSleepClockCallback(ThreadContextBase *tctx_base, void *arg) {
ThreadState *thr = reinterpret_cast<ThreadState*>(arg);
ThreadContext *tctx = static_cast<ThreadContext*>(tctx_base);
OpenPOWER on IntegriCloud