diff options
-rw-r--r-- | compiler-rt/lib/tsan/rtl/tsan_rtl.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/compiler-rt/lib/tsan/rtl/tsan_rtl.h b/compiler-rt/lib/tsan/rtl/tsan_rtl.h index 8437ab55bdf..af8951bab2d 100644 --- a/compiler-rt/lib/tsan/rtl/tsan_rtl.h +++ b/compiler-rt/lib/tsan/rtl/tsan_rtl.h @@ -37,6 +37,10 @@ #include "tsan_report.h" #include "tsan_platform.h" +#if SANITIZER_WORDSIZE != 64 +# error "ThreadSanitizer is supported only on 64-bit platforms" +#endif + namespace __tsan { // Descriptor of user's memory block. |