forked from OSchip/llvm-project
Revert "tsan: turn off COMMON_INTERCEPTOR_NOTHING_IS_INITIALIZED"
This reverts commit 5ec832269e
.
It broke a number of bots, e.g.:
https://lab.llvm.org/buildbot/#/builders/52/builds/11811
Reviewed By: melver
Differential Revision: https://reviews.llvm.org/D112563
This commit is contained in:
parent
7ad00511e4
commit
65e795c9ca
|
@ -152,11 +152,8 @@ const int SA_SIGINFO = 4;
|
|||
const int SIG_SETMASK = 2;
|
||||
#endif
|
||||
|
||||
// All tsan interceptors check for initialization and/or initialize things
|
||||
// as necessary lazily, so we can pretend everything is initialized in this
|
||||
// check to avoid double-checking for initialization (this is only necessary for
|
||||
// sanitizers that don't handle initialization on common grounds).
|
||||
#define COMMON_INTERCEPTOR_NOTHING_IS_INITIALIZED false
|
||||
#define COMMON_INTERCEPTOR_NOTHING_IS_INITIALIZED \
|
||||
(!cur_thread_init()->is_inited)
|
||||
|
||||
namespace __tsan {
|
||||
struct SignalDesc {
|
||||
|
|
Loading…
Reference in New Issue