commit | 6e1e5aaef04d58c9eb543eec5ba961f593ac27d3 | [log] [tgz] |
---|---|---|
author | Lang Hames <lhames@gmail.com> | Thu Nov 16 23:04:44 2017 +0000 |
committer | Lang Hames <lhames@gmail.com> | Thu Nov 16 23:04:44 2017 +0000 |
tree | 7175c7544fedabc117a675a33e99f81d81acf3be | |
parent | a98c2a27eb6190fdab55fd27995cbeeccd3e9dd4 [diff] |
[Support] Support NetBSD PaX MPROTECT in sys::Memory. Removes AllocateRWX, setWritable and setExecutable from sys::Memory and standardizes on allocateMappedMemory / protectMappedMemory. The allocateMappedMemory method is updated to request full permissions for memory blocks so that they can be marked executable later. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@318464 91177308-0d34-0410-b5e6-96231b3b80d8