commit | 810ae8ddac890a6613d814c0b5415c7fcb7f5cca | [log] [tgz] |
---|---|---|
author | Dmitry Vyukov <dvyukov@google.com> | Tue Oct 15 08:38:58 2019 +0000 |
committer | Dmitry Vyukov <dvyukov@google.com> | Tue Oct 15 08:38:58 2019 +0000 |
tree | 3ac635e63afb7ac9125e40d1f18043b2a5f2a64c | |
parent | 2f65e506ec18c7d9c683b6042e0d2d93f5afa78d [diff] |
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
diff --git a/lib/tsan/rtl/tsan_platform.h b/lib/tsan/rtl/tsan_platform.h index 0d106c4..63eb14f 100644 --- a/lib/tsan/rtl/tsan_platform.h +++ b/lib/tsan/rtl/tsan_platform.h
@@ -457,6 +457,8 @@ static const uptr kAppMemEnd = 0x00e000000000ull; }; +#define TSAN_RUNTIME_VMA 1 + #elif SANITIZER_GO && defined(__aarch64__) /* Go on linux/aarch64 (48-bit VMA)