forked from OSchip/llvm-project
[tsan] add a compile-time error for 64-bit-only support
llvm-svn: 169275
This commit is contained in:
parent
6021c4a249
commit
242b6305f0
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue