aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoachim Protze <protze@itc.rwth-aachen.de>2020-03-11 14:12:51 +0100
committerJoachim Protze <protze@itc.rwth-aachen.de>2020-03-11 14:14:33 +0100
commit31c85ca06d731d22e9dcc6ac9569c5c27efc8c82 (patch)
treed23f4a8b12ecab5f3ade445bee672d0ec6041745
parentc422d69b1ad7ae3fdbe0d4ec795a2931e08459f7 (diff)
downloadllvm-31c85ca06d731d22e9dcc6ac9569c5c27efc8c82.zip
llvm-31c85ca06d731d22e9dcc6ac9569c5c27efc8c82.tar.gz
llvm-31c85ca06d731d22e9dcc6ac9569c5c27efc8c82.tar.bz2
[compiler-rt][tsan] Make fiber support in thread sanitizer dynamic linkable
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
-rw-r--r--compiler-rt/lib/tsan/rtl/tsan.syms.extra5
1 files changed, 5 insertions, 0 deletions
diff --git a/compiler-rt/lib/tsan/rtl/tsan.syms.extra b/compiler-rt/lib/tsan/rtl/tsan.syms.extra
index ab5b5a4..4838bb0 100644
--- a/compiler-rt/lib/tsan/rtl/tsan.syms.extra
+++ b/compiler-rt/lib/tsan/rtl/tsan.syms.extra
@@ -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*