[LLVMdev] Update the CallGraph after adding a call

Tehila Mayzels tehila at cs.technion.ac.il
Wed Mar 26 03:37:18 PDT 2014


Hi,

 

I'm writing a transformation that adds function calls during the
CallGraphSCC pass, and I'm getting the error:

"CallGraphSCCPass did not update the CallGraph correctly".

 

I guess I should update the Call graph somehow, with the new calls I've
added (using CreateCall function), but I don't know how to do it, and I
haven't found similar code.

 

Any suggestions?

 

Thanks,

Tehila.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20140326/f59959f8/attachment.html>


More information about the llvm-dev mailing list