Commit 563fb64a by Bernd Edlinger Committed by Bernd Edlinger

tsan_rtl_report.cc (ScopedReport::AddThread): Cherry pick upstream 224508 and 224755.

2015-03-11  Bernd Edlinger  <bernd.edlinger@hotmail.de>

        * tsan/tsan_rtl_report.cc (ScopedReport::AddThread): Cherry pick
        upstream 224508 and 224755.

From-SVN: r221356
parent 0c9dc4ae
2015-03-11 Bernd Edlinger <bernd.edlinger@hotmail.de>
* tsan/tsan_rtl_report.cc (ScopedReport::AddThread): Cherry pick
upstream 224508 and 224755.
2015-03-09 Jakub Jelinek <jakub@redhat.com> 2015-03-09 Jakub Jelinek <jakub@redhat.com>
PR sanitizer/63958 PR sanitizer/63958
......
...@@ -242,7 +242,8 @@ ThreadContext *IsThreadStackOrTls(uptr addr, bool *is_stack) { ...@@ -242,7 +242,8 @@ ThreadContext *IsThreadStackOrTls(uptr addr, bool *is_stack) {
void ScopedReport::AddThread(int unique_tid, bool suppressable) { void ScopedReport::AddThread(int unique_tid, bool suppressable) {
#ifndef TSAN_GO #ifndef TSAN_GO
AddThread(FindThreadByUidLocked(unique_tid), suppressable); if (const ThreadContext *tctx = FindThreadByUidLocked(unique_tid))
AddThread(tctx, suppressable);
#endif #endif
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment