diff options
| author | Diana Picus <diana.picus@linaro.org> | 2019-02-13 11:32:56 +0000 |
|---|---|---|
| committer | Diana Picus <diana.picus@linaro.org> | 2019-02-13 11:32:56 +0000 |
| commit | 4152a09e553768b3110c7c753000b40a29a23b1e (patch) | |
| tree | 543b750d665154832b0be3aa2cc18867549a3953 /compiler-rt/include | |
| parent | aa4118a8738eec74e953c14db14fccba3471e6c5 (diff) | |
| download | bcm5719-llvm-4152a09e553768b3110c7c753000b40a29a23b1e.tar.gz bcm5719-llvm-4152a09e553768b3110c7c753000b40a29a23b1e.zip | |
Revert "tsan: add fiber support"
This reverts commit r353817 because we think it broke AARch64 and
PowerPC buildbots.
llvm-svn: 353939
Diffstat (limited to 'compiler-rt/include')
| -rw-r--r-- | compiler-rt/include/sanitizer/tsan_interface.h | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/compiler-rt/include/sanitizer/tsan_interface.h b/compiler-rt/include/sanitizer/tsan_interface.h index 011b23350ca..4a98a4e12d3 100644 --- a/compiler-rt/include/sanitizer/tsan_interface.h +++ b/compiler-rt/include/sanitizer/tsan_interface.h @@ -136,24 +136,6 @@ void __tsan_external_assign_tag(void *addr, void *tag); void __tsan_external_read(void *addr, void *caller_pc, void *tag); void __tsan_external_write(void *addr, void *caller_pc, void *tag); -// Fiber switching API. -// - TSAN context for fiber can be created by __tsan_create_fiber -// and freed by __tsan_destroy_fiber. -// - TSAN context of current fiber or thread can be obtained -// by calling __tsan_get_current_fiber. -// - __tsan_switch_to_fiber should be called immediatly before switch -// to fiber, such as call of swapcontext. -// - Fiber name can be set by __tsan_set_fiber_name. -void *__tsan_get_current_fiber(void); -void *__tsan_create_fiber(unsigned flags); -void __tsan_destroy_fiber(void *fiber); -void __tsan_switch_to_fiber(void *fiber, unsigned flags); -void __tsan_set_fiber_name(void *fiber, const char *name); - -// Flags for __tsan_switch_to_fiber: -// Do not establish a happens-before relation between fibers -const unsigned __tsan_switch_to_fiber_no_sync = 1 << 0; - #ifdef __cplusplus } // extern "C" #endif |

