RFC: Shark LLVM 3.0svn support

Xerxes Rånby xerxes at zafena.se
Wed Aug 31 05:52:08 PDT 2011

ons 2011-08-31 klockan 10:56 +0300 skrev Xerxes Rånby:
> Hi all Zero/Shark hackers!
> 3-sharkllvm30-MCJIT.patch:
> This are a fun patch that makes it possible to test Shark in combination with the new 
> MCJIT in LLVM that uses the direct machine code emission framework. The MCJIT are intended 
> to be the new stable JIT in LLVM that will use the same stable code path as the static 
> compilers in LLVM.
> * I have not yet conditionalized this patch to make shark work with older llvm versions.

Updated version of the MCJIT patch, I forgot to replace the JIT.h with
MCJIT.h. this prevented the MCJIT to get linked in.

If the MCJIT fails to initialize then Shark will exit with the following
error: LLVM ERROR: Target does not support MC emission!

llvm-dev claims that the MCJIT are functional on x86_64.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 3-sharkllvm30-MCJIT-v2.patch
Type: text/x-patch
Size: 1342 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/zero-dev/attachments/20110831/09279dd4/attachment.bin 

More information about the zero-dev mailing list