Displaying 1 result from an estimated 1 matches for "_zn1b4testei".
2012 Mar 06
2
[LLVMdev] Work with CallSites
...nes, that in this call site B::test() should be called.
I've tried to use CSn.setCalledFunction(F) (where F is B::test()), but I've got this:
Check function __cxa_pure_virtual
Call parameter type does not match function signature!
%6 = load %class.A** %a, align 4
%class.B* call void @_ZN1B4testEi(%class.A* %6, i32 1)
Ok! I've tried to change the first %class.A %6 to %class.B %6 by "FirstArgumentOfCS->get()->mutateType(FunctionFirstArgement->getType());", but in this case I've got this:
Check function __cxa_pure_virtual
Load result type does not match pointer o...