Interface changes to allow RuntimeDyld memory managers to set memory permissions...
[oota-llvm.git] / unittests / ExecutionEngine / MCJIT / SectionMemoryManager.cpp
index d6baf3c9bb8e5f8a9556fe7447f97121f04111ad..225106ecab2c092598f41547525feb41d75711c1 100644 (file)
@@ -32,7 +32,8 @@ namespace llvm {
 
 uint8_t *SectionMemoryManager::allocateDataSection(uintptr_t Size,
                                                     unsigned Alignment,
-                                                    unsigned SectionID) {
+                                                    unsigned SectionID,
+                                                    bool IsReadOnly) {
   if (!Alignment)
     Alignment = 16;
   // Ensure that enough memory is requested to allow aligning.