[LLVMdev] Hit assert(I != ValueMap.end() && "Value not in slotcalculator!") in ValueEnumerator.cpp

Duncan Sands baldrick at free.fr
Wed Sep 22 04:10:35 PDT 2010


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.



More information about the llvm-dev mailing list