From 087efd23d68b0ce408acc86c5433143410a2e74c Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Wed, 30 Jan 2013 14:38:44 +0000 Subject: tsan: fix CPP_WEAK definition (it must be the other way around) llvm-svn: 173932 --- compiler-rt/lib/tsan/rtl/tsan_defs.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'compiler-rt/lib') diff --git a/compiler-rt/lib/tsan/rtl/tsan_defs.h b/compiler-rt/lib/tsan/rtl/tsan_defs.h index 125458afd11..b18a174d411 100644 --- a/compiler-rt/lib/tsan/rtl/tsan_defs.h +++ b/compiler-rt/lib/tsan/rtl/tsan_defs.h @@ -28,13 +28,13 @@ namespace __tsan { const bool kGoMode = true; const bool kCppMode = false; const char *const kTsanOptionsEnv = "GORACE"; -#define CPP_WEAK WEAK +// Go linker does not support weak symbols. +#define CPP_WEAK #else const bool kGoMode = false; const bool kCppMode = true; const char *const kTsanOptionsEnv = "TSAN_OPTIONS"; -// Go linker does not support weak symbols. -#define CPP_WEAK +#define CPP_WEAK WEAK #endif const int kTidBits = 13; -- cgit v1.2.3