HomePhabricator

tsan: add fiber support

Authored by dvyukov on Tue, Feb 12, 2:11 AM.

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

llvm-svn: 353817

Details

Committed
dvyukovTue, Feb 12, 2:11 AM
Parents
rG2a184af22185: [IndVars] Fix corner case with unreachable Phi inputs. PR40454
Branches
Unknown
Tags
Unknown