[LLVMbugs] Make error

Tanya Brethour tonic at nondot.org
Thu Dec 5 17:50:19 PST 2002


I get the following compile error:

Compiling IPModRef.cpp
IPModRef.cpp: In member function `DSGraph*
FunctionModRefInfo::ResolveCallSiteModRefInfo(CallInst&, std::map<const
DSNode*, DSNodeHandle, std::less<const DSNode*>,
std::allocator<std::pair<const DSNode* const, DSNodeHandle> > >&)':
IPModRef.cpp:163: no matching function for call to
`DSGraph::removeTriviallyDeadNodes(bool)'
../../../include/llvm/Analysis/DSGraph.h:186: candidates are: void
DSGraph::removeTriviallyDeadNodes()
gmake[3]: *** [Debug/IPModRef.o] Error 1
gmake[3]: Leaving directory `/home/tonic/CS426/llvm/lib/Analysis/IPA'
gmake[2]: *** [IPA/.makeall] Error 2
gmake[2]: Leaving directory `/home/tonic/CS426/llvm/lib/Analysis'
gmake[1]: *** [Analysis/.makeall] Error 2
gmake[1]: Leaving directory `/home/tonic/CS426/llvm/lib'
gmake: *** [all] Error 1

The fix is to change line 163 of IPModRef.cpp from:
Result->removeTriviallyDeadNodes(false);
to:
Result->removeTriviallyDeadNodes();


-Tanya & Bill





More information about the llvm-bugs mailing list