commit | afa2e4a3cc47d7de5772d54649062a3852545506 | [log] [tgz] |
---|---|---|
author | Dmitry Vyukov <dvyukov@google.com> | Tue Nov 29 16:51:48 2022 +0100 |
committer | Copybara-Service <copybara-worker@google.com> | Wed Nov 30 01:40:07 2022 -0800 |
tree | df127603e6e7c4260127bde1e0866cc01c2887dc | |
parent | 8fefd17abb546caae827649b42dbd789fd85cbfc [diff] |
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 GitOrigin-RevId: 099997540f45a50f1bfb1da85cd222e3509b87cb