This is an archive of the discontinued LLVM Phabricator instance.

[PowerPC][msan] Update msan to handle changed memory layouts in 47 bit VMA kernels
ClosedPublic

Authored by seurer on Nov 8 2017, 1:53 PM.

Details

Summary

[PowerPC][msan] Update msan to handle changed memory layouts in newer kernels

In more recent Linux kernels (including those with 47 bit VMAs) the layout of
virtual memory for powerpc64 changed causing the memory sanitizer to not
work properly. This patch adjusts the memory ranges in the tables for the
memory sanitizer to work on the newer kernels while continuing to work on the
older ones as well.

Tested on several 4.x and 3.x kernel releases.

Diff Detail

Event Timeline

seurer created this revision.Nov 8 2017, 1:53 PM
eugenis accepted this revision.Nov 8 2017, 1:56 PM
eugenis added a subscriber: alekseyshl.
This revision is now accepted and ready to land.Nov 8 2017, 1:56 PM
seurer closed this revision.Nov 9 2017, 11:55 AM

Code checked in as r317802.