diff options
author | Kostya Serebryany <kcc@google.com> | 2013-01-31 14:11:21 +0000 |
---|---|---|
committer | Kostya Serebryany <kcc@google.com> | 2013-01-31 14:11:21 +0000 |
commit | bda64b4d405a4f4628d0cde75a2bb8d60d61dc2c (patch) | |
tree | ca2bc4093fc88f26a3f794ac453d2c1f43cb954e /compiler-rt/lib/tsan/rtl/tsan_rtl.cc | |
parent | a0c0da8f51fc1e54584329830b3ed82006b0dcec (diff) | |
download | bcm5719-llvm-bda64b4d405a4f4628d0cde75a2bb8d60d61dc2c.tar.gz bcm5719-llvm-bda64b4d405a4f4628d0cde75a2bb8d60d61dc2c.zip |
[sanitizer] make the error messages from sanitizer_common contain the actual tool name
llvm-svn: 174059
Diffstat (limited to 'compiler-rt/lib/tsan/rtl/tsan_rtl.cc')
-rw-r--r-- | compiler-rt/lib/tsan/rtl/tsan_rtl.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler-rt/lib/tsan/rtl/tsan_rtl.cc b/compiler-rt/lib/tsan/rtl/tsan_rtl.cc index d81f44254d3..b28b0d01078 100644 --- a/compiler-rt/lib/tsan/rtl/tsan_rtl.cc +++ b/compiler-rt/lib/tsan/rtl/tsan_rtl.cc @@ -187,6 +187,7 @@ void Initialize(ThreadState *thr) { if (is_initialized) return; is_initialized = true; + SanitizerToolName = "ThreadSanitizer"; // Install tool-specific callbacks in sanitizer_common. SetCheckFailedCallback(TsanCheckFailed); |