[all-commits] [llvm/llvm-project] 099997: tsan: fix epoll_pwait2 interceptor
Dmitry Vyukov via All-commits
all-commits at lists.llvm.org
Wed Nov 30 01:37:24 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 099997540f45a50f1bfb1da85cd222e3509b87cb
https://github.com/llvm/llvm-project/commit/099997540f45a50f1bfb1da85cd222e3509b87cb
Author: Dmitry Vyukov <dvyukov at google.com>
Date: 2022-11-30 (Wed, 30 Nov 2022)
Changed paths:
M compiler-rt/lib/sanitizer_common/sanitizer_errno_codes.h
M compiler-rt/lib/tsan/rtl/tsan_interceptors_posix.cpp
Log Message:
-----------
tsan: fix epoll_pwait2 interceptor
epoll_pwait2 is new and may not be present in libc and/or kernel.
Since we effectively add it to libc (as will be probed by the program
using dlsym or a weak function pointer) we need to handle the case
when it's not present in the actual libc.
Reviewed By: melver
Differential Revision: https://reviews.llvm.org/D138929
More information about the All-commits
mailing list