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

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


Gary Benson skrev:
> Xerxes Rånby wrote:
>   
>> 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.
>>     
>
> Please leave the old support in, with a #else as I mentioned in my
> last mail.
>
> Thanks for doing this!
>
> Cheers,
> Gary
>
>   
Ok thanks, i will add as many #else as appropriate and commit!

Cheers
Xerxes



More information about the distro-pkg-dev mailing list