Displaying 3 results from an estimated 3 matches for "dscallsit".
Did you mean:
dscallsite
2002 Nov 24
4
[LLVMdev] globals in DS graph
I have some questions regarding how globals are represented in DS graph.
Specifically, I wrote the following simple program:
List *g;
void alloc_func(){
g = ( List* ) malloc( sizeof( List ) );
}
void free_func(){
free( g );
}
int main(){
alloc_func();
free_func();
}
I noticed that the DSnode for g in alloc_func is different from that of
free_func and NEITHER of them had GlobalNode
2002 Nov 24
0
[LLVMdev] DSGraph::mergeInGraph usage?
I've been trying to merge DSGraphs from different Functions, but i'm
not going anywhere. For a Function F and DSGraph G, I tried this
(assumming no SCC in the callgraph):
vector<DSCallSite> CSV = G->getAuxFunctionCalls();
for (vector<DSCallSite>::iterator I = CSV.begin(), E = CSV.end();
I != E; I++) {
Value *V = I->getCallInst().getOperand(0);
Function &SF = cast<Function>(*V);
if (!SF.isExternal()) {
DSGraph *SFG = new DSGraph(SF, GG);
G...
2006 Dec 01
1
[LLVMdev] DSGraph::computeCalleeCallerMapping failing
...sh_map<llvm::DSNode const*, llvm::DSNodeHandle, __gnu_cxx::hash<llvm::DSNode const*>, std::equal_to<llvm::DSNode const*>, std::allocator<llvm::DSNodeHandle> >&, bool)+0xad)[0x848bbab]
../../../../../../old_obj/Debug/bin/opt(llvm::DSGraph::computeCalleeCallerMapping(llvm::DSCallSite, llvm::Function const&, llvm::DSGraph&, __gnu_cxx::hash_map<llvm::DSNode const*, llvm::DSNodeHandle, __gnu_cxx::hash<llvm::DSNode const*>, std::equal_to<llvm::DSNode const*>, std::allocator<llvm::DSNodeHandle> >&)+0x1e1)[0x848c20d]
../../../../../../old_obj/proj...