[llvm-commits] [patch] Make it possible to enable and disable JIT debug dumps dynamically - namespace fix for new api

Xerxes Rånby xerxes at zafena.se
Mon Nov 9 06:53:52 PST 2009


I have commited the small namespace fix for this new API in:
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20091109/090686.html

Cheers, and have a great day!
Xerxes

Xerxes Rånby skrev:
> Chris Lattner skrev:
>   
>> On Oct 28, 2009, at 8:50 AM, Xerxes Rånby wrote:
>>
>>     
>>> This patch would enable projects that use the LLVM JIT to enable and
>>> disable JIT debug dumps dynamically.
>>> The patch have been up for discussion on the llvm-dev mailinglist but
>>> since it have gotten no attention there im posting it for review here
>>> instead.
>>>
>>> http://lists.cs.uiuc.edu/pipermail/llvmdev/2009-January/019661.html
>>> http://lists.cs.uiuc.edu/pipermail/llvmdev/2009-May/022101.html
>>>
>>> Projects like Icedtea (OpenJDK) that uses the LLVM JIT would benefit
>>> from this patch since it would enable us to turn on dumping of JITed
>>> machinecode for selected methods.
>>>
>>> Patch made by Andrew Haley.
>>>       
>> Hi Xerxes,
>>
>> I spoke with Andrew on IRC and added a new API to do this:
>> http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20091026/089863.html
>>
>>
>> Please verify that it works for you guys,
>>
>> -Chris
>>
>>     
> Hi Chris,
>
> The new API worked as expected except one small issue, I had to make
> SetCurrentDebugType part of the llvm namespace in Debug.cpp so that it
> matches Debug.h or else i get a linking error stating that
> llvm::SetCurrentDebugType could not get resolved.
>
> Ok to push?
>
> Cheers
> Xerxes
>   
> ------------------------------------------------------------------------
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits




More information about the llvm-commits mailing list