Modifying lli to use the SectionMemoryManager.
authorAndrew Kaylor <andrew.kaylor@intel.com>
Tue, 27 Nov 2012 19:49:00 +0000 (19:49 +0000)
committerAndrew Kaylor <andrew.kaylor@intel.com>
Tue, 27 Nov 2012 19:49:00 +0000 (19:49 +0000)
commit58365b9cc905908732bbe850f642dce4d7925379
tree532760814da8576d5c33185dab6784887ac48586
parentab5ba51a6e4699cb5592947807d6035c6ac53386
Modifying lli to use the SectionMemoryManager.

The functionality of SectionMemoryManager is equivalent to the LLIMCJITMemoryManager being replaced except that it allocates memory as RW and later changes it to RX or R as needed.  The page permissions are set in the call to MCJIT::finalizeObject.

llvm-svn: 168722
llvm/tools/lli/lli.cpp