[LLVMdev] Strange Multiple Inheritance Errors Using LLVM 2.7

John Criswell criswell at uiuc.edu
Thu Mar 25 10:07:27 PDT 2010


Chris Lattner wrote:
> On Mar 25, 2010, at 8:18 AM, John Criswell wrote:
>
>   
>> Dear All,
>>
>> I'm currently upgrading SAFECode to the LLVM 2.7 API.  I'm getting some 
>> strange errors in LLVM Passes that use analysis groups and multiple 
>> inheritance.
>>     
>
> Hey John,
>
> This is almost certainly due to the "eliminate rtti" work.  You probably need to implement "getAdjustedAnalysisPointer" methods in your passes, see BasicAliasAnalysis or BasicCallGraph as examples.
>   

Thanks!  That seems to have done the trick.

-- John T.




More information about the llvm-dev mailing list