[compiler-rt][tsan] Make fiber support in thread sanitizer dynamic linkable
authorJoachim Protze <protze@itc.rwth-aachen.de>
Wed, 11 Mar 2020 13:12:51 +0000 (14:12 +0100)
committerJoachim Protze <protze@itc.rwth-aachen.de>
Wed, 11 Mar 2020 13:14:33 +0000 (14:14 +0100)
This patch will allow dynamic libraries to call into the fiber support functions
introduced in https://reviews.llvm.org/D54889

Differential Revision: https://reviews.llvm.org/D74487

compiler-rt/lib/tsan/rtl/tsan.syms.extra

index ab5b5a4..4838bb0 100644 (file)
@@ -19,6 +19,11 @@ __tsan_mutex_pre_signal
 __tsan_mutex_post_signal
 __tsan_mutex_pre_divert
 __tsan_mutex_post_divert
+__tsan_get_current_fiber
+__tsan_create_fiber
+__tsan_destroy_fiber
+__tsan_switch_to_fiber
+__tsan_set_fiber_name
 __ubsan_*
 Annotate*
 WTFAnnotate*