[PATCH] D53171: [tsan] Bring Dispatch support to Linux
Dmitry Vyukov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 12 03:19:23 PDT 2018
dvyukov added a comment.
Is it possible to make it just part of tsan without introducing a separate static library? That would be more scalable and easier to use.
We already doing something similar in tsan_interceptors.cc. For example, we intercept some libc++ functions, but end user may not link in libc++ and it will all work because interceptors do dynamic dispatch and don't fail if a function is not resolved.
This would require calling all dispatch functions as REAL(dispatch_foo), but otherwise should work.
https://reviews.llvm.org/D53171
More information about the llvm-commits
mailing list