Page MenuHomePhabricator

[Tsan] Do not sanitize memset() and other functions during initialization
AbandonedPublic

Authored by kutuzov.viktor.84 on Mar 23 2015, 7:21 AM.

Details

Summary

We need these to suppress to pass initialization on FreeBSD 11.

Diff Detail

Event Timeline

kutuzov.viktor.84 retitled this revision from to [Tsan] Do not sanitize memset() and other functions during initialization.
kutuzov.viktor.84 updated this object.
kutuzov.viktor.84 edited the test plan for this revision. (Show Details)
kutuzov.viktor.84 added a subscriber: emaste.
kutuzov.viktor.84 added a subscriber: Unknown Object (MLST).
kcc edited edge metadata.Mar 23 2015, 12:52 PM

Is this fix testable? or is it covered by existing tests?

lib/tsan/rtl/tsan_interceptors.cc
667

I would prefer to define COMMON_INTERCEPTOR_NOTHING_IS_INITIALIZED above this line and use COMMON_INTERCEPTOR_NOTHING_IS_INITIALIZED here
and below instead of if(cur_thread()->is_inited)