[PATCH] D15381: [tsan] Add a DCHECK to verify __tsan_read* and __tsan_write function aren't called from ScopedInterceptor

Kuba Brecka via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 18 05:57:15 PST 2015


kubabrecka added a comment.

There are some failures on the Linux buildbot, http://lab.llvm.org:8011/builders/sanitizer-x86_64-linux-autoconf/builds/13046/steps/test%20tsan%20in%20debug%20compiler-rt%20build/logs/stdio:

  Failing Tests (3):
  ThreadSanitizer :: dl_iterate_phdr.cc
  ThreadSanitizer :: signal_sync.cc
  ThreadSanitizer :: signal_thread.cc

The "dl_iterate_phdr.cc" one should be easy to fix, we just need to annotate the callback from the interceptor into user code.  However, I don't know yet what's the right solution for the signal tests.


Repository:
  rL LLVM

http://reviews.llvm.org/D15381





More information about the llvm-commits mailing list