[RuntimeDyld] Add alignment arguments to the reserveAllocationSpace method of
[oota-llvm.git] / include / llvm / ExecutionEngine / RuntimeDyld.h
index afd8de64913e5a10742beb79c576f4b10f8b3fcd..fe736bb00cce3a9672caed59f0d0348faeefc6bf 100644 (file)
@@ -124,9 +124,11 @@ public:
     ///
     /// Note that by default the callback is disabled. To enable it
     /// redefine the method needsToReserveAllocationSpace to return true.
-    virtual void reserveAllocationSpace(uintptr_t CodeSize,
-                                        uintptr_t DataSizeRO,
-                                        uintptr_t DataSizeRW) {}
+    virtual void reserveAllocationSpace(uintptr_t CodeSize, uint32_t CodeAlign,
+                                        uintptr_t RODataSize,
+                                        uint32_t RODataAlign,
+                                        uintptr_t RWDataSize,
+                                        uint32_t RWDataAlign) {}
 
     /// Override to return true to enable the reserveAllocationSpace callback.
     virtual bool needsToReserveAllocationSpace() { return false; }