[PATCH] D54889: Fiber support for thread sanitizer

Yuri Per via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 17 07:10:23 PST 2018


yuri updated this revision to Diff 178459.
yuri added a comment.

- By default sync fibers with each other on switch
- Faster cur_thread(), no visible difference in benchmark results
- Moved implementation to tsan_rtl_thread.cc


Repository:
  rCRT Compiler Runtime

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D54889/new/

https://reviews.llvm.org/D54889

Files:
  include/sanitizer/tsan_interface.h
  lib/tsan/rtl/tsan_interface.cc
  lib/tsan/rtl/tsan_interface_atomic.cc
  lib/tsan/rtl/tsan_interface_inl.h
  lib/tsan/rtl/tsan_rtl.cc
  lib/tsan/rtl/tsan_rtl.h
  lib/tsan/rtl/tsan_rtl_thread.cc
  lib/tsan/rtl/tsan_update_shadow_word_inl.h
  test/tsan/fiber_asm.cc
  test/tsan/fiber_race.cc
  test/tsan/fiber_simple.cc
  test/tsan/fiber_two_threads.cc

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D54889.178459.patch
Type: text/x-patch
Size: 18038 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181217/ad612925/attachment.bin>


More information about the llvm-commits mailing list