http://llvm.org/bugs/show_bug.cgi?id=2202
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: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]
CC: [email protected]
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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs