For some targets, it's not possible to place GVs in the same memory buffer as the...
authorEvan Cheng <evan.cheng@apple.com>
Tue, 4 Nov 2008 09:30:48 +0000 (09:30 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Tue, 4 Nov 2008 09:30:48 +0000 (09:30 +0000)
commitb0b53491ef32b85bd90c8590faeb8a3fb4b17a95
tree7a39d3291145c5b0cbe3a9cb996fff3d711d9403
parentc40b75b55a1b63a46d45b3de2e27641c265a7ed8
For some targets, it's not possible to place GVs in the same memory buffer as the MachineCodeEmitter allocated memory. Code and data has different read / write / execution privilege requirements.

This is a short term workaround. The current solution is for the JIT memory manager to manage code and data memory separately.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58688 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Target/TargetJITInfo.h
lib/ExecutionEngine/JIT/JIT.cpp
lib/Target/ARM/ARMJITInfo.h