[RuntimeDyldELF] Fold Placeholder into Addend
[oota-llvm.git] / lib / ExecutionEngine / RuntimeDyld / RuntimeDyldELF.h
index 590d26a3fb813d9609406d19ecf73297915d44d4..9a4a8630e4c403d3a29722f6788ad01f90ce4ae0 100644 (file)
@@ -99,6 +99,13 @@ class RuntimeDyldELF : public RuntimeDyldImpl {
                                      uint64_t SymbolOffset,
                                      unsigned Type);
 
+  // Compute the address in memory where we can find the placeholder
+  void *computePlaceholderAddress(unsigned SectionID, uint64_t Offset) const;
+
+  // Split out common case for createing the RelocationEntry for when the relocation requires
+  // no particular advanced processing.
+  void processSimpleRelocation(unsigned SectionID, uint64_t Offset, unsigned RelType, RelocationValueRef Value);
+
   // The tentative ID for the GOT section
   unsigned GOTSectionID;