summaryrefslogtreecommitdiffstats
path: root/llvm/tools/lli/RecordingMemoryManager.cpp
diff options
context:
space:
mode:
authorAndrew Kaylor <andrew.kaylor@intel.com>2012-11-15 23:50:01 +0000
committerAndrew Kaylor <andrew.kaylor@intel.com>2012-11-15 23:50:01 +0000
commita342cb9613d33a50e25800d1d2414bec31249ab6 (patch)
tree7f0814847e10d3f1ce87575c47321120964f387c /llvm/tools/lli/RecordingMemoryManager.cpp
parentdcc794906556b5e7fbf407226a725ed13fd8287e (diff)
downloadbcm5719-llvm-a342cb9613d33a50e25800d1d2414bec31249ab6.tar.gz
bcm5719-llvm-a342cb9613d33a50e25800d1d2414bec31249ab6.zip
Interface changes to allow RuntimeDyld memory managers to set memory permissions after an object has been loaded.
llvm-svn: 168114
Diffstat (limited to 'llvm/tools/lli/RecordingMemoryManager.cpp')
-rw-r--r--llvm/tools/lli/RecordingMemoryManager.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/tools/lli/RecordingMemoryManager.cpp b/llvm/tools/lli/RecordingMemoryManager.cpp
index 9e1cff55277..f54f17461e1 100644
--- a/llvm/tools/lli/RecordingMemoryManager.cpp
+++ b/llvm/tools/lli/RecordingMemoryManager.cpp
@@ -28,7 +28,8 @@ allocateCodeSection(uintptr_t Size, unsigned Alignment, unsigned SectionID) {
}
uint8_t *RecordingMemoryManager::
-allocateDataSection(uintptr_t Size, unsigned Alignment, unsigned SectionID) {
+allocateDataSection(uintptr_t Size, unsigned Alignment,
+ unsigned SectionID, bool IsReadOnly) {
// The recording memory manager is just a local copy of the remote target.
// The alignment requirement is just stored here for later use. Regular
// heap storage is sufficient here.
OpenPOWER on IntegriCloud