summaryrefslogtreecommitdiff
path: root/lib/tsan/rtl/tsan_report.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
commita371b02fccce7d968732449b2f094380cfe3d4f8 (patch)
tree27b1c59ad6f6c4cf6d7ff0bfd066bb4b1f041aa2 /lib/tsan/rtl/tsan_report.cc
parente10c4275cb236f88e4b4015b66c23518a46e6cab (diff)
[tsan] remove TSAN_GO in favor of SANITIZER_GO
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@223732 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/tsan/rtl/tsan_report.cc')
-rw-r--r--lib/tsan/rtl/tsan_report.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/tsan/rtl/tsan_report.cc b/lib/tsan/rtl/tsan_report.cc
index 255793198..c22f12a1b 100644
--- a/lib/tsan/rtl/tsan_report.cc
+++ b/lib/tsan/rtl/tsan_report.cc
@@ -71,7 +71,7 @@ ReportDesc::~ReportDesc() {
// FIXME(dvyukov): it must be leaking a lot of memory.
}
-#ifndef TSAN_GO
+#ifndef SANITIZER_GO
const int kThreadBufSize = 32;
const char *thread_name(char *buf, int tid) {
@@ -344,7 +344,7 @@ void PrintReport(const ReportDesc *rep) {
Printf("==================\n");
}
-#else // #ifndef TSAN_GO
+#else // #ifndef SANITIZER_GO
const int kMainThreadId = 1;