summaryrefslogtreecommitdiff
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
commit810ae8ddac890a6613d814c0b5415c7fcb7f5cca (patch)
tree3ac635e63afb7ac9125e40d1f18043b2a5f2a64c
parent2f65e506ec18c7d9c683b6042e0d2d93f5afa78d (diff)
downloadcompiler-rt-810ae8ddac890a6613d814c0b5415c7fcb7f5cca.tar.gz
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) git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@374868 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/tsan/rtl/tsan_platform.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/tsan/rtl/tsan_platform.h b/lib/tsan/rtl/tsan_platform.h
index 0d106c414..63eb14fcd 100644
--- a/lib/tsan/rtl/tsan_platform.h
+++ b/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)