HomePhabricator

Description

tsan: add fiber support

This patch adds functions for managing fibers:

tsan_get_current_fiber()
tsan_create_fiber()
tsan_destroy_fiber()
tsan_switch_to_fiber()
__tsan_set_fiber_name()

See the added tests for use examples.

Author: yuri (Yuri Per)
Reviewed in: https://reviews.llvm.org/D54889

[The previous commit of this change was reverted,
this is a resubmit with a squashed fix for check_analyze.sh
and COMMON_INTERCEPTOR_NOTHING_IS_INITIALIZED]

Details

Committed
dvyukovFeb 13 2019, 5:21 AM
Parents
rL353946: [test] Tweak driver test from r353917 and r353922 to pass with a nondefault…
Branches
Unknown
Tags
Unknown

Event Timeline