[LLVMdev] Hit assert(I != ValueMap.end() && "Value not in slotcalculator!") in ValueEnumerator.cpp
Jin Guoliang
jingl1345 at gmail.com
Wed Sep 22 13:58:21 PDT 2010
Thanks Duncan.
After adding the verifier, it gives me:
Broken module found, verification continues.
Referencing function in another module!
And I fixed my code based on this.
Thanks,
Guoliang
On Wed, Sep 22, 2010 at 6:10 AM, Duncan Sands <baldrick at free.fr> wrote:
> Hi Guoliang,
>
> > I added a function to a module, but failed to write the bitcode to file
> > because it hit the:
> > assert(I != ValueMap.end()&& "Value not in slotcalculator!")
>
> does the module pass the verifier after you add the function to it?
>
> Ciao,
>
> Duncan.
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20100922/50785d01/attachment.html>
More information about the llvm-dev
mailing list