This is an archive of the discontinued LLVM Phabricator instance.

[tsan] Check for pvalloc overlow
AbandonedPublic

Authored by cryptoad on Jul 31 2017, 12:29 PM.

Details

Reviewers
alekseyshl
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.Jul 31 2017, 12:29 PM
cryptoad abandoned this revision.Jul 31 2017, 2:40 PM

Abandoning for now, while I check what's causing the MSan errors.