projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6021c4a
)
[tsan] add a compile-time error for 64-bit-only support
author
Kostya Serebryany
<kcc@google.com>
Tue, 4 Dec 2012 15:13:30 +0000
(15:13 +0000)
committer
Kostya Serebryany
<kcc@google.com>
Tue, 4 Dec 2012 15:13:30 +0000
(15:13 +0000)
llvm-svn: 169275
compiler-rt/lib/tsan/rtl/tsan_rtl.h
patch
|
blob
|
history
diff --git
a/compiler-rt/lib/tsan/rtl/tsan_rtl.h
b/compiler-rt/lib/tsan/rtl/tsan_rtl.h
index
8437ab5
..
af8951b
100644
(file)
--- 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.