[PATCH] D54889: Fiber support for thread sanitizer

Yuri Per via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 8 05:23:26 PST 2019


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

- Replaced cur_thread1 with ThreadState::current
- Removed cur_thread_fast() and replaced calls with cur_thread()
- Added cur_thread_init()


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/sanitizer_common/sanitizer_thread_registry.h
  lib/tsan/rtl/tsan_interceptors.cc
  lib/tsan/rtl/tsan_interface.cc
  lib/tsan/rtl/tsan_rtl.h
  lib/tsan/rtl/tsan_rtl_thread.cc
  test/tsan/fiber_asm.cc
  test/tsan/fiber_from_thread.cc
  test/tsan/fiber_longjmp.c
  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.185949.patch
Type: text/x-patch
Size: 17058 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190208/6b82f57c/attachment.bin>


More information about the llvm-commits mailing list