[llvm-commits] CVS: llvm/tools/lli/JIT/VM.h

Chris Lattner lattner at cs.uiuc.edu
Sun Jan 12 19:01:18 PST 2003


Changes in directory llvm/tools/lli/JIT:

VM.h updated: 1.1 -> 1.2

---
Log message:

Add support for named functions


---
Diffs of the changes:

Index: llvm/tools/lli/JIT/VM.h
diff -u llvm/tools/lli/JIT/VM.h:1.1 llvm/tools/lli/JIT/VM.h:1.2
--- llvm/tools/lli/JIT/VM.h:1.1	Mon Dec 23 18:01:22 2002
+++ llvm/tools/lli/JIT/VM.h	Sun Jan 12 19:00:48 2003
@@ -44,6 +44,12 @@
 
   void *resolveFunctionReference(void *RefAddr);
 
+  /// getPointerToNamedFunction - This method returns the address of the
+  /// specified function by using the dlsym function call.  As such it is only
+  /// useful for resolving library symbols, not code generated symbols.
+  ///
+  void *getPointerToNamedFunction(const std::string &Name);
+
 private:
   static MachineCodeEmitter *createEmitter(VM &V);
   void setupPassManager();





More information about the llvm-commits mailing list