[compiler-rt] r374868 - tsan: fix Go ppc64le build
Dmitry Vyukov via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 15 01:38:58 PDT 2019
Author: dvyukov
Date: Tue Oct 15 01:38:58 2019
New Revision: 374868
URL: http://llvm.org/viewvc/llvm-project?rev=374868&view=rev
Log:
tsan: fix Go ppc64le build
This #define is in the non-Go ppc64le build but not in the Go build.
Reviewed-in: https://reviews.llvm.org/D68046
Author: randall77 (Keith Randall)
Modified:
compiler-rt/trunk/lib/tsan/rtl/tsan_platform.h
Modified: compiler-rt/trunk/lib/tsan/rtl/tsan_platform.h
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/tsan/rtl/tsan_platform.h?rev=374868&r1=374867&r2=374868&view=diff
==============================================================================
--- compiler-rt/trunk/lib/tsan/rtl/tsan_platform.h (original)
+++ compiler-rt/trunk/lib/tsan/rtl/tsan_platform.h Tue Oct 15 01:38:58 2019
@@ -457,6 +457,8 @@ struct Mapping47 {
static const uptr kAppMemEnd = 0x00e000000000ull;
};
+#define TSAN_RUNTIME_VMA 1
+
#elif SANITIZER_GO && defined(__aarch64__)
/* Go on linux/aarch64 (48-bit VMA)
More information about the llvm-commits
mailing list