tsan: add mutexsets to reports
authorDmitry Vyukov <dvyukov@google.com>
Thu, 6 Dec 2012 12:16:15 +0000 (12:16 +0000)
committerDmitry Vyukov <dvyukov@google.com>
Thu, 6 Dec 2012 12:16:15 +0000 (12:16 +0000)
commitfd5ebcd1b0a7e73c3aabb4c872bdbc5d2a196a5e
treef1a80c6fc97c625fb4dc85e5955303ad4e86c238
parentdbe7d7e96515775489b145b866d0278345e958d8
tsan: add mutexsets to reports
With this change reports say what mutexes the threads hold around the racy memory accesses.

llvm-svn: 169493
40 files changed:
compiler-rt/lib/tsan/lit_tests/free_race.c
compiler-rt/lib/tsan/lit_tests/ignore_race.cc [new file with mode: 0644]
compiler-rt/lib/tsan/lit_tests/memcpy_race.cc
compiler-rt/lib/tsan/lit_tests/mop_with_offset.cc
compiler-rt/lib/tsan/lit_tests/mop_with_offset2.cc
compiler-rt/lib/tsan/lit_tests/mutexset1.cc [new file with mode: 0644]
compiler-rt/lib/tsan/lit_tests/mutexset2.cc [new file with mode: 0644]
compiler-rt/lib/tsan/lit_tests/mutexset3.cc [new file with mode: 0644]
compiler-rt/lib/tsan/lit_tests/mutexset4.cc [new file with mode: 0644]
compiler-rt/lib/tsan/lit_tests/mutexset5.cc [new file with mode: 0644]
compiler-rt/lib/tsan/lit_tests/mutexset6.cc [new file with mode: 0644]
compiler-rt/lib/tsan/lit_tests/mutexset7.cc [new file with mode: 0644]
compiler-rt/lib/tsan/lit_tests/race_on_heap.cc
compiler-rt/lib/tsan/lit_tests/race_on_mutex.c
compiler-rt/lib/tsan/lit_tests/race_with_finished_thread.cc
compiler-rt/lib/tsan/lit_tests/simple_stack.c
compiler-rt/lib/tsan/lit_tests/simple_stack2.cc
compiler-rt/lib/tsan/lit_tests/thread_name.cc
compiler-rt/lib/tsan/lit_tests/write_in_reader_lock.cc
compiler-rt/lib/tsan/rtl/tsan_defs.h
compiler-rt/lib/tsan/rtl/tsan_interface_atomic.cc
compiler-rt/lib/tsan/rtl/tsan_mman.cc
compiler-rt/lib/tsan/rtl/tsan_mutex.cc
compiler-rt/lib/tsan/rtl/tsan_mutex.h
compiler-rt/lib/tsan/rtl/tsan_mutexset.cc [new file with mode: 0644]
compiler-rt/lib/tsan/rtl/tsan_mutexset.h [new file with mode: 0644]
compiler-rt/lib/tsan/rtl/tsan_report.cc
compiler-rt/lib/tsan/rtl/tsan_report.h
compiler-rt/lib/tsan/rtl/tsan_rtl.cc
compiler-rt/lib/tsan/rtl/tsan_rtl.h
compiler-rt/lib/tsan/rtl/tsan_rtl_mutex.cc
compiler-rt/lib/tsan/rtl/tsan_rtl_report.cc
compiler-rt/lib/tsan/rtl/tsan_rtl_thread.cc
compiler-rt/lib/tsan/rtl/tsan_stat.cc
compiler-rt/lib/tsan/rtl/tsan_stat.h
compiler-rt/lib/tsan/rtl/tsan_sync.cc
compiler-rt/lib/tsan/rtl/tsan_sync.h
compiler-rt/lib/tsan/rtl/tsan_trace.h
compiler-rt/lib/tsan/tests/unit/tsan_mutexset_test.cc [new file with mode: 0644]
compiler-rt/lib/tsan/tests/unit/tsan_sync_test.cc