1 Commits

Author SHA1 Message Date
Peter Collingbourne b8abe69f7d IR: Teach Constant::needsRelocation() that relative pointers don't need to be relocated.
This causes sections with relative pointers to be marked as read only,
which means that they won't end up sharing pages with writable data.

Differential Revision: https://reviews.llvm.org/D64948

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@366494 91177308-0d34-0410-b5e6-96231b3b80d8
2019-07-18 20:56:21 +00:00