Displaying 2 results from an estimated 2 matches for "3383cce4".
2012 Nov 27
0
[LLVMdev] mmap and vm_protect on ARM+Apple systems
...___
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20121126/3383cce4/attachment.html>
2012 Nov 17
4
[LLVMdev] mmap and vm_protect on ARM+Apple systems
"ARM Darwin can't do this. Memory is never allowed to be both writable and executable at the same time."
That seems very sensible. So do the JIT engines just not work there now?
Currently both MCJIT and JIT are using AllocateRWX which on that platform mmap's the memory as RX, then vm_protect's it as RX+VM_PROT_COPY, then vm_protect's it as RW.
My best guess is that