This threads SectionName through the allocateCodeSection/allocateDataSection APIs...
[oota-llvm.git] / tools / lli / RecordingMemoryManager.h
index b2919c39790a3ebc4689e3c0dcf2725871a56189..05f4807d0454cb9f5ab6684fe7676cbb43b7fe5b 100644 (file)
@@ -50,10 +50,11 @@ public:
   const_code_iterator   code_end() const { return AllocatedCodeMem.end(); }
 
   uint8_t *allocateCodeSection(uintptr_t Size, unsigned Alignment,
-                                       unsigned SectionID);
+                               unsigned SectionID, StringRef SectionName);
 
   uint8_t *allocateDataSection(uintptr_t Size, unsigned Alignment,
-                                       unsigned SectionID, bool IsReadOnly);
+                               unsigned SectionID, StringRef SectionName,
+                               bool IsReadOnly);
 
   void *getPointerToNamedFunction(const std::string &Name,
                                   bool AbortOnFailure = true);