<span style='font-family:Verdana'><span style='font-size:12px'><div> 
        <blockquote style="border-left-width: 1px; border-left-style: solid; border-left-color: rgb(204, 204, 204); padding-left: 5px; margin-left: 5px; margin-bottom: 0px; margin-top: 0px; margin-right: 0px; " type="cite"> 
                <p style="margin:0px; padding:0px; margin:0px; padding:0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "> 
                        <span style="font-family:Verdana"><span style="font-size:12px">Hi,</span></span></p> 
                <div> 
                        <p style="margin:0px; padding:0px; margin:0px; padding:0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "> 
                                <br /> 
                                <span style="font-family:Verdana"><span style="font-size:12px">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</span></span></p> 
                </div> 
        </blockquote> 
        <br /> 
        <span style="font-family:Verdana"><span style="font-size:12px">Hello,<br /> 
        <br /> 
        i wrote a little pass. It tries to identify every call- / invoke-instruction recursively and calls computeCalleeCallerMapping</span></span><br /> 
        for each. The sample program just creates a vector of integer and adds an element to it.<br /> 
        <br /> 
        <br /> 
        Do you know what's wrong?<br /> 
        <br /> 
        Best,<br /> 
        Andreas<br /> 
        <br /> 
        <br /> 
        <blockquote style="border-left: 1px solid #CCC; padding-left: 5px; margin-left: 5px; margin-bottom: 0px; margin-top: 0px; margin-right: 0px;" type="cite"> 
                <p style="margin:0px; padding:0px; margin:0px; padding:0px;"> 
                        <br /> 
                        <span style="font-family:Verdana"><span style="font-size:12px">On Wed, Jul 6, 2011 at 2:00 AM, Andreas Wilhelm <span><<a href="mailto:andreas.wilhelm@gmx.com" >andreas.wilhelm@gmx.com</a>></span> wrote:</span></span></p> 
                <div> 
                        <div class="gmail_quote"> 
                                <blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"> 
                                        <span style="font-family:Verdana"><span style="font-size:12px">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> </span></span></blockquote> 
                        </div> 
                </div> 
        </blockquote> 
        <p style="margin:0px; padding:0px; margin:0px; padding:0px;"> 
                <span style="font-family:Verdana"><span style="font-size:12px"> </span></span></p> 
</div> 
</span></span>