This is an archive of the discontinued LLVM Phabricator instance.

[tsan] Check for pvalloc overlow
ClosedPublic

Authored by cryptoad on Aug 2 2017, 3:39 PM.

Details

Summary

CheckForPvallocOverflow was introduced with D35818 to detect when pvalloc
would wrap when rounding up to the next multiple of the page size.

Add this check to TSan's pvalloc implementation.

Event Timeline

cryptoad created this revision.Aug 2 2017, 3:39 PM
alekseyshl accepted this revision.Aug 2 2017, 3:46 PM
This revision is now accepted and ready to land.Aug 2 2017, 3:46 PM
cryptoad closed this revision.Aug 2 2017, 3:48 PM