Hi,<br><br>I am not exactly sure what causes your error. But if you have a reduced test case we can try looking at it.<br><br>Thanks,<br>Arushi<br><br><div class="gmail_quote">On Wed, Jul 6, 2011 at 2:00 AM, Andreas Wilhelm <span dir="ltr"><<a href="mailto:andreas.wilhelm@gmx.com">andreas.wilhelm@gmx.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Hi,<br>
<br>
though DSA isn't maintained in the current build, I need to<br>
use it for analyzing dependencies among functions.<br>
<br>
Therfore I load the EQTDDataStructures pass and retrieve the<br>
mapping from nodes int the callee to the ones in the parent<br>
DSGraph with computeNodeMapping.<br>
<br>
In most cases this works well, but for some function calls I<br>
get following error:<br>
<br>
DSGraph.cpp:1379: static void llvm::DSGraph::computeNodeMapping(const llvm::DSNodeHandle&, const llvm::DSNodeHandle&, llvm::DSGraph::NodeMapTy&, bool): Assertion `Entry.getNode() == N2 && "Inconsistent mapping detected!"' failed.<br>


<br>
The definition of the corresponding function is:<br>
define linkonce_odr void @_ZN9__gnu_cxx13new_allocatorIjE9constructEPjRKj(%"class.__gnu_cxx::new_allocator"* %this, i32* %__p, i32* %__val) align 2<br>
<br>
The callsite is:<br>
call void @_ZN9__gnu_cxx13new_allocatorIjE9constructEPjRKj(%"class.__gnu_cxx::new_allocator"* %3, i32* %tmp10, i32* %tmp11)<br>
<br>
Does anybody have a clue what could be wrong or what has to be checked<br>
before executing?<br>
<br>
Best<br>
Andreas<br>
_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:LLVMdev@cs.uiuc.edu">LLVMdev@cs.uiuc.edu</a>         <a href="http://llvm.cs.uiuc.edu" target="_blank">http://llvm.cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a><br>
</blockquote></div><br>