Print more information about relocations.
[oota-llvm.git] / tools / lli / RecordingMemoryManager.h
index 85bf4e14436300aab1e3f2d243b2693e32376e59..991f535fd4c1f99ca9a6acd50dde976964744343 100644 (file)
@@ -31,6 +31,12 @@ private:
   SmallVector<Allocation, 16> AllocatedDataMem;
   SmallVector<Allocation, 16> AllocatedCodeMem;
 
+  // FIXME: This is part of a work around to keep sections near one another
+  // when MCJIT performs relocations after code emission but before
+  // the generated code is moved to the remote target.
+  sys::MemoryBlock Near;
+  sys::MemoryBlock allocateSection(uintptr_t Size);
+
 public:
   RecordingMemoryManager() {}
   virtual ~RecordingMemoryManager();