[LLVMbugs] [Bug 3143] New: JIT doesn' t try to lookup function definiton in other Modules

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Sat Nov 29 08:55:39 PST 2008


           Summary: JIT doesn't try to lookup function definiton in other
           Product: libraries
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Target-Independent JIT
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: nicholas at mxc.ca
                CC: llvmbugs at cs.uiuc.edu

Created an attachment (id=2246)
 --> (http://llvm.org/bugs/attachment.cgi?id=2246)
proposed fix to JIT

Consider an ExecutionEngine with two ModuleProviders. In one module, function
foo() is defined, in the other it's declared, and function bar() calls foo().

If you call JIT->getPointerToFunction on bar(), you'll get "Program use
external function 'foo' which could not be resolved!" because it's not even
trying to look in the other Modules for functions of the same name.

Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

More information about the llvm-bugs mailing list