This is an archive of the discontinued LLVM Phabricator instance.

[msan] Remove more attributes from sanitized functions.
ClosedPublic

Authored by eugenis on Oct 28 2019, 5:53 PM.

Details

Summary

MSan instrumentation adds stores and loads even to pure
readonly/writeonly functions. It is removing some of those attributes
from instrumented functions and call targets, but apparently not enough.

Remove writeonly, argmemonly and speculatable in addition to readonly /
readnone.

Diff Detail

Event Timeline

eugenis created this revision.Oct 28 2019, 5:53 PM
Herald added a project: Restricted Project. · View Herald TranscriptOct 28 2019, 5:53 PM
Herald added a subscriber: hiraditya. · View Herald Transcript
vitalybuka accepted this revision.Oct 28 2019, 5:55 PM
This revision is now accepted and ready to land.Oct 28 2019, 5:55 PM
This revision was automatically updated to reflect the committed changes.