This is an archive of the discontinued LLVM Phabricator instance.

[sanitizer] Add callbacks for epoll_pwait2
ClosedPublic

Authored by vitalybuka on Jul 30 2021, 7:32 PM.

Diff Detail

Event Timeline

vitalybuka requested review of this revision.Jul 30 2021, 7:32 PM
vitalybuka created this revision.
Herald added a project: Restricted Project. · View Herald TranscriptJul 30 2021, 7:32 PM
Herald added a subscriber: Restricted Project. · View Herald Transcript
morehouse accepted this revision.Aug 2 2021, 7:47 AM
morehouse added inline comments.
compiler-rt/test/msan/Linux/syscalls.cpp
143

Should we leave the pwait test in addition to pwait2?

This revision is now accepted and ready to land.Aug 2 2021, 7:47 AM
vitalybuka updated this revision to Diff 363569.Aug 2 2021, 2:13 PM

restore test

compiler-rt/test/msan/Linux/syscalls.cpp
143

Thanks, I probably screwed it on rebase .

This revision was landed with ongoing or failed builds.Aug 2 2021, 2:14 PM
This revision was automatically updated to reflect the committed changes.
yingcong-wu added inline comments.
compiler-rt/lib/sanitizer_common/sanitizer_common_syscalls.inc
2135

Shouldn't this be PRE_READ(timeout, sizeof(sanitizer_kernel_timespec)) ? sizeof(timeout) is just a size of the pointer.

Herald added a project: Restricted Project. · View Herald TranscriptApr 22 2023, 10:52 PM
Herald added a subscriber: Enna1. · View Herald Transcript