search for: getdscallsiteforcallsit

Displaying 3 results from an estimated 3 matches for "getdscallsiteforcallsit".

2010 Dec 13
1
[LLVMdev] How can I determine safely if a CallSite is "live" in a DSGraphs context
...t; >> int main() { > >> m(0); > >> } > >> > >> // ====================== > >> > >> The call to method m in the main method is translated to "call void > @m(i16* > >> null) nounwind ssp". > >> If I try to call getDSCallSiteForCallSite(...) with the above mentioned > >> CallSite as argument on the DSGraph of the main method I get a failing > >> assertion when the getDSCallSiteForCallSite method tries to get the > DSNode > >> (via getNodeForValue(...)) for the "i16* null" argument. So it ob...
2010 Dec 13
0
[LLVMdev] How can I determine safely if a CallSite is "live" in a DSGraphs context
...ases. Consider the following example code: // ====================== void m(short *s) { return; } int main() { m(0); } // ====================== The call to method m in the main method is translated to "call void @m(i16* null) nounwind ssp". If I try to call getDSCallSiteForCallSite(...) with the above mentioned CallSite as argument on the DSGraph of the main method I get a failing assertion when the getDSCallSiteForCallSite method tries to get the DSNode (via getNodeForValue(...)) for the "i16* null" argument. So it obviously thinks it should have a node for that v...
2006 Dec 01
1
[LLVMdev] DSGraph::computeCalleeCallerMapping failing
...UG( std::cerr<< "Processing internal callee function "<<callee->getName()<<"\n" ); dsgCaller = &TDD.getDSGraph(*fun); dsgCallee = &TDD.getDSGraph(*callee); DSCallSite dscs = ( dsgCaller->getDSCallSiteForCallSite(CS) ); dsgCaller->computeCalleeCallerMapping ( dscs, *callee, *dsgCallee, NodeMap); } } } } Is there anything wrong the way I am calling "computeCalleeCallerMapping" or any aother mistake I may be doing? Thanks. Regards,...