[llvm-commits] [llvm] r77706 - in /llvm/trunk: include/llvm/Support/Annotation.h lib/Support/Annotation.cpp

Nicolas Geoffray nicolas.geoffray at lip6.fr
Mon Aug 3 03:14:56 PDT 2009


Hi again Dan,

Nicolas Geoffray wrote:
> Hi Dan,
>
> Dan Gohman wrote:
>   
>> Author: djg
>> Date: Fri Jul 31 13:36:25 2009
>> New Revision: 77706
>>
>> URL: http://llvm.org/viewvc/llvm-project?rev=77706&view=rev
>> Log:
>> Remove Annotation.h, which is no longer used in the LLVM tree.
>>   
>
>
> Another way for me is to derive the llvm::Function class, add the 
> information in the new class and always create this new class instead of 
> llvm::Function. Do you know if that won't mess with the llvm passes?
>   

Just to let you know that creating a derive class of llvm::Function 
works fine in VMKit. All that is needed is to set the llvm::Function 
constructor to protected instead of private.

So I just wanted to make sure creating a derive class of llvm::Function 
won't break any llvm assumptions. Otherwise, I'll commit the private --> 
protected patch.

Thanks,
Nicolas



More information about the llvm-commits mailing list