[patch] rfc: -XX:SharkPrintAsmOf llvm2.7 api update

Xerxes Rånby xerxes at zafena.se
Mon Nov 9 03:13:26 PST 2009


Xerxes Rånby skrev:
> In llvm2.7 svn trunk Chris Lattner added a new API on Aph's request that
> would enable and disable debugging output more vigorously.
> http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20091026/089863.html
> - new api for us, yay!
> The attached patch in this mail makes Shark use this new API for the 
> -XX:SharkPrintAsmOf debug option.
>
> Unfortunally there was a small namespaces bug in the implementation of
> this new LLVM API and I am waiting for response from Chris reguarding
> this issue:
> http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20091109/090682.html 
> - correspondence
> You have to apply the patch on llvm in this correspondence in-order to
> build the new patch for icedtea6.
>
> Should i remove the old pre LLVM2.7 support for -XX:SharkPrintAsmOf ?
> Currently you need a special patched llvm version to make the option
> work at all on older LLVM versions.
>
> Cheers and have a great day!
> Xerxes
>   
 2nd try i somehow attached the wrong version of the patch with some
missing curly-brackets, this should be the correct version.

Xerxes
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 9nov-take2-SharkPrintAsmOf-llvm2.7api.patch
Type: text/x-patch
Size: 1744 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20091109/74a66ece/9nov-take2-SharkPrintAsmOf-llvm2.7api.patch 


More information about the distro-pkg-dev mailing list