[tsan] add a compile-time error for 64-bit-only support

llvm-svn: 169275
This commit is contained in:
Kostya Serebryany 2012-12-04 15:13:30 +00:00
parent 6021c4a249
commit 242b6305f0
1 changed files with 4 additions and 0 deletions

View File

@ -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.