POSIX timer can be configured to send any kind of signal, however, it fundamentally does not make sense to consider a timer a synchronous signal. Teach TSan that timers are never synchronous. The tricky bit here is correctly defining compiler-rt's siginfo replacement, which is a rather complex struct. Extend it in a limited way that is mostly cross-platform compatible and add offset tests in sanitizer_platform_limits_posix.cpp. Reviewed By: dvyukov Differential Revision: https://reviews.llvm.org/D142117
Compiler-RT ================================ This directory and its subdirectories contain source code for the compiler support routines. Compiler-RT is open source software. You may freely distribute it under the terms of the license agreement found in LICENSE.txt. ================================