This is an archive of the discontinued LLVM Phabricator instance.

[tsan] Ensure mmap respects ignore_interceptors_accesses
ClosedPublic

Authored by zaks.anna on May 16 2016, 11:55 AM.

Details

Summary

The ignore_interceptors_accesses setting did not have an effect on mmap, so let's change that. It helps in cases user code is accessing the memory written to by mmap when the synchronization is ensured by the code that does not get rebuilt.

(This effects Swift interoperability since it's runtime is mapping memory which gets accessed by the code emitted into the Swift application by the compiler.)

Diff Detail

Repository
rL LLVM

Event Timeline

zaks.anna updated this revision to Diff 57380.May 16 2016, 11:55 AM
zaks.anna retitled this revision from to [tsan] Ensure mmap respects ignore_interceptors_accesses.
zaks.anna updated this object.
zaks.anna added reviewers: kubamracek, dvyukov.
dvyukov accepted this revision.May 17 2016, 1:57 AM
dvyukov edited edge metadata.
This revision is now accepted and ready to land.May 17 2016, 1:57 AM
This revision was automatically updated to reflect the committed changes.