SuccessChanges

Summary

  1. 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
Revision 366494 by pcc:
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
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/lib/IR/Constants.cpp (diff)llvm.src/lib/IR/Constants.cpp
The file was added/llvm/trunk/test/CodeGen/X86/relptr-rodata.llllvm.src/test/CodeGen/X86/relptr-rodata.ll