[PATCH] D16191: [tsan] Add TSan debugger APIs

Kuba Brecka via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 10 08:21:36 PST 2016


kubabrecka updated this revision to Diff 50281.
kubabrecka added a comment.

Addressing review comments.

> Do we need this function? (`__tsan_get_current_report`)


It's very convenient to use it from LLDB.  Even when we break inside `__tsan_on_report`, the function argument is not easily accessible (it might be optimized out).


http://reviews.llvm.org/D16191

Files:
  lib/tsan/CMakeLists.txt
  lib/tsan/rtl/tsan_debugging.cc
  lib/tsan/rtl/tsan_interface.h
  lib/tsan/rtl/tsan_rtl.h
  lib/tsan/rtl/tsan_rtl_report.cc
  test/tsan/debugging.cc

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D16191.50281.patch
Type: text/x-patch
Size: 14768 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160310/cb650ba3/attachment.bin>


More information about the llvm-commits mailing list