Interface changes to allow RuntimeDyld memory managers to set memory permissions...
[oota-llvm.git] / tools / lli / RecordingMemoryManager.cpp
index 9e1cff55277d3130f34e09251d83467528609dcd..f54f17461e110a1c26e9612d51a2d0828aea215f 100644 (file)
@@ -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.