summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/tsan/rtl/tsan_rtl.h
diff options
context:
space:
mode:
authorAlexey Samsonov <samsonov@google.com>2012-06-06 06:47:26 +0000
committerAlexey Samsonov <samsonov@google.com>2012-06-06 06:47:26 +0000
commitbc3a7e3fe2dcc1679672e37faeaca727f2634eec (patch)
tree2f14cf27397a221eb0bb0aa03e6fcee5ceab18ee /compiler-rt/lib/tsan/rtl/tsan_rtl.h
parentbf2409e8aa4d9c0eee047127e6d1885df1f87b73 (diff)
downloadbcm5719-llvm-bc3a7e3fe2dcc1679672e37faeaca727f2634eec.tar.gz
bcm5719-llvm-bc3a7e3fe2dcc1679672e37faeaca727f2634eec.zip
[Sanitizer] add sanitizer_common.h for routines shared between TSan and ASan runtimes. Use __sanitizer::Die() in TSan.
llvm-svn: 158050
Diffstat (limited to 'compiler-rt/lib/tsan/rtl/tsan_rtl.h')
-rw-r--r--compiler-rt/lib/tsan/rtl/tsan_rtl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/lib/tsan/rtl/tsan_rtl.h b/compiler-rt/lib/tsan/rtl/tsan_rtl.h
index fc585243477..f89f2420b57 100644
--- a/compiler-rt/lib/tsan/rtl/tsan_rtl.h
+++ b/compiler-rt/lib/tsan/rtl/tsan_rtl.h
@@ -26,6 +26,7 @@
#ifndef TSAN_RTL_H
#define TSAN_RTL_H
+#include "sanitizer_common/sanitizer_common.h"
#include "tsan_clock.h"
#include "tsan_defs.h"
#include "tsan_flags.h"
@@ -390,7 +391,6 @@ void ALWAYS_INLINE INLINE StatInc(ThreadState *thr, StatType typ, u64 n = 1) {
void InitializeShadowMemory();
void InitializeInterceptors();
void InitializeDynamicAnnotations();
-void Die() NORETURN;
void ReportRace(ThreadState *thr);
bool OutputReport(const ScopedReport &srep,
OpenPOWER on IntegriCloud