search for: memleakage

Displaying 6 results from an estimated 6 matches for "memleakage".

2002 Nov 16
2
[LLVMdev] question
When I tried to compile the program, I got this error: ../../../include/llvm/Analysis/DSGraph.h: In member function `virtual bool <unnamed>::GlobalMemLeakage::run(Module&)': ../../../include/llvm/Analysis/DSGraph.h:38: `void DSGraph::operator=(const DSGraph&)' is private MemLeakage.cpp:87: within this context gmake: *** [Debug/MemLeakage.o] Error 1 I don't understand what this means. Basically what I did is I defined: map<Func...
2002 Nov 16
5
[LLVMdev] question
Thanks Bill. One more question, when I use the DSNode iterator to traverse a node's children. The return value of I.getNode() can only be 'const DSNode *', I cannot use 'DSNode *' type. So as a result, I always get error message like this: MemLeakage.cpp:159: invalid conversion from `const DSNode*' to `DSNode*' MemLeakage.cpp:159: initializing argument 1 of `void <unnamed>::GlobalMemLeakage::KillSetInsert(DSNode*, BBsets&)' How to use a 'Node *' type iterator? Or is there any other way to traverse the DSGraph...
2002 Nov 15
1
[LLVMdev] TarjanSCCInterator
Dear LLVM, when I tried to use the TarjanSCCIterator. I include the header file and compile the program. It give me this warning: Compiling MemLeakage.cpp In file included from MemLeakage.cpp:28: ../../../include/Support/TarjanSCCIterator.h:59: warning: left shift count >= width of type ======= Linking MemLeakage debug library ======= Please let me know if this is a problme in the TarjanSCC header file. or I can just ignore it. thanks, Je...
2002 Nov 08
1
[LLVMdev] Iterating on the DSGraph... (fwd)
...eally have no idea about what those functions do. Is there any documentation about DSGraph functions besides the pool allocation paper? Thanks, xiaodong Code: for( df_iterator<DSNode*> I = df_begin(pnode), E=df_end(pnode); I!=E; ++ i) { ; } Error Message: gmake Compiling MemLeakage.cpp ../../../include/Support/DepthFirstIterator.h: In member function `void df_iterator<GraphT, GT>::reverseEnterNode() [with GraphT = DSNode*, GT = GraphTraits<DSNode*>]': ../../../include/Support/DepthFirstIterator.h:49: instantiated from `df_iterator<GraphT, GT>::df...
2002 Nov 16
0
[LLVMdev] question
Also sprach Xiaodong Li: } } When I tried to compile the program, I got this error: } } ../../../include/llvm/Analysis/DSGraph.h: In member function `virtual bool } <unnamed>::GlobalMemLeakage::run(Module&)': } ../../../include/llvm/Analysis/DSGraph.h:38: `void } DSGraph::operator=(const } DSGraph&)' is private } MemLeakage.cpp:87: within this context } gmake: *** [Debug/MemLeakage.o] Error 1 } } I don't understand what this means. Basically what I did is I define...
2002 Nov 16
0
[LLVMdev] question
Also sprach Xiaodong Li: } Thanks Bill. One more question, when I use the DSNode iterator to } traverse a node's children. The return value of I.getNode() can only } be 'const DSNode *', I cannot use 'DSNode *' type. So as a result, I } always get error message like this: } } MemLeakage.cpp:159: invalid conversion from `const DSNode*' to `DSNode*' } MemLeakage.cpp:159: initializing argument 1 of `void } <unnamed>::GlobalMemLeakage::KillSetInsert(DSNode*, BBsets&)' } } How to use a 'Node *' type iterator? Or is there any other way to traverse } t...