[MCJIT] Const-ify the symbol lookup operations on RuntimeDyld.
[oota-llvm.git] / include / llvm / ExecutionEngine / RuntimeDyld.h
index 7e6305d5615a4b797f25b8737effa09dcb552f3d..3605b9e44d762d933bff752dc65e8ce3de988494 100644 (file)
@@ -66,11 +66,11 @@ public:
   /// Get the address of our local copy of the symbol. This may or may not
   /// be the address used for relocation (clients can copy the data around
   /// and resolve relocatons based on where they put it).
-  void *getSymbolAddress(StringRef Name);
+  void *getSymbolAddress(StringRef Name) const;
 
   /// Get the address of the target copy of the symbol. This is the address
   /// used for relocation.
-  uint64_t getSymbolLoadAddress(StringRef Name);
+  uint64_t getSymbolLoadAddress(StringRef Name) const;
 
   /// Resolve the relocations for all symbols we currently know about.
   void resolveRelocations();