[PATCH] D54889: Fiber support for thread sanitizer

Yuri Per via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 10 05:42:14 PST 2018


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

- Temporary switch into fiber context for start and stop instead of avoiding HACKY_CALL
- Minimized perfomance impact of cur_thread() change
- Added (currently unused) flags to _tsan_create_fiber() and _tsan_switch_to_fiber()


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_rtl.cc
  lib/tsan/rtl/tsan_rtl.h
  lib/tsan/rtl/tsan_rtl_thread.cc
  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.177490.patch
Type: text/x-patch
Size: 11164 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181210/6375f09a/attachment.bin>


More information about the llvm-commits mailing list