summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2019-10-15 08:38:58 +0000
committerDmitry Vyukov <dvyukov@google.com>2019-10-15 08:38:58 +0000
commitcc2f68ea2dc8132270218ca14ab0e21fb71d3ec8 (patch)
treeafa0b3934b9128c81799339969fd3bc5f21af2e5
parent674d55438d25e900dba202078a108836ba066e64 (diff)
downloadbcm5719-llvm-cc2f68ea2dc8132270218ca14ab0e21fb71d3ec8.tar.gz
bcm5719-llvm-cc2f68ea2dc8132270218ca14ab0e21fb71d3ec8.zip
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) llvm-svn: 374868
-rw-r--r--compiler-rt/lib/tsan/rtl/tsan_platform.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler-rt/lib/tsan/rtl/tsan_platform.h b/compiler-rt/lib/tsan/rtl/tsan_platform.h
index 0d106c4147c..63eb14fcd34 100644
--- a/compiler-rt/lib/tsan/rtl/tsan_platform.h
+++ b/compiler-rt/lib/tsan/rtl/tsan_platform.h
@@ -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)
OpenPOWER on IntegriCloud