<div>Compiled the 3.0.0 version of the source code , then tried</div><div>lli --use-mcjit irfile.txt</div><div><br></div><div>On both windows and linux, I got:</div><div>LLVM ERROR: Unknow object format.</div><div><br></div>
<div>If I omit the -use-mcjit option, the command works well. It seems to me that something about MCJIT is broken in the 3.0.0 version. Also tried to initialize an ExecutionEngine from code, got errors like "Target does not support MC emission" on Windows or "Unknow object format" when the EngineBuilder::create() method is called. </div>
<div><br></div><div>Got the trunk version from svn, compiled and the above lli command succeeded. </div><div><br></div><div>Here are several questions regarding MCJIT and JIT:</div><div><br></div>1. What does "MC" mean in MCJIT?<div>
2. What is the difference between MCJIT and JIT?</div><div>3. According to "Debugging JIT-ed Code With GDB <a href="http://llvm.org/docs/DebuggingJITedCode.html">http://llvm.org/docs/DebuggingJITedCode.html</a>" , we need to use MCJIT in order to debug the JIT-ed code? Is there any more documentation on this? I am working on adding DWARF debug information to the IR for a language and I need to test how gdb works with the IR+DWARF.</div>
<div><br></div><div>Thanks. </div><div><div><div><br></div>-- <br>Xinglin Zhang<br><br>
</div></div>