This is an archive of the discontinued LLVM Phabricator instance.

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

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

Details

Summary

We need these to suppress to pass initialization on FreeBSD 11.
Duplicates D8543 due to missed llvm-commits.

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 subscribers: emaste, Unknown Object (MLST).

Updated as suggested in D8543#inline-69954.

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

This fix resolves mass failures on FreeBSD 11, see the "alignment != 0" lines at:
http://lab.llvm.org:8011/builders/sanitizer_x86_64-freebsd/builds/4831/steps/make-check-tsan/logs/stdio

kcc accepted this revision.Mar 26 2015, 11:18 AM
kcc edited edge metadata.

LGTM

This revision is now accepted and ready to land.Mar 26 2015, 11:18 AM
This revision was automatically updated to reflect the committed changes.