[LLVMbugs] [Bug 2202] New: LLVMCreateInterpreter creates a JIT

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Sun Apr 6 17:14:02 PDT 2008


           Summary: LLVMCreateInterpreter creates a JIT
           Product: libraries
           Version: 2.2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: minor
          Priority: P2
         Component: Generic Execution Engine Support
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: fvbommel at wxs.nl
                CC: llvmbugs at cs.uiuc.edu

Created an attachment (id=1580)
 --> (http://llvm.org/bugs/attachment.cgi?id=1580)
Patch that changes LLVMCreateInterpreter to actually create an interpreter even
if a JIT can be created.

When using the C bindings, llvm-c/ExecutionEngine.h:LLVMCreateInterpreter()[1]
passes 'false' as the ForceInterpreter parameter to ExecutionEngine::create,
resulting in it returning a JIT instead of an interpreter when the execution
engine is able to create a JIT.
This isn't what the name of the function suggests; especially since there are
also functions named LLVMCreateExecutionEngine and LLVMCreateJITCompiler.

[1]: Implemented in lib/ExecutionEngine/ExecutionEngineBindings.cpp

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