<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><br></div><div>Hello,</div><div><br></div><div>This is my first post to llvmdev (reading for about a month) so I apologize if I'm not following protocol.</div><div><br></div><div>I'm writing a Common Lisp compiler using LLVM with the C++ API and I'm experiencing a problem that I have not been able to solve by myself.</div><div><br></div><div>I'm getting a "Value not in slotcalculator" when I write out bitcode for a module that I generated.</div><div><br></div><div>It happens the second time that I compile the same source code - the first time everything works fine and the functions all verify fine.</div><div><br></div><div>Here's what I know: when I dump the value that seems to be responsible for the error:</div><div><br></div><div><font face="Courier">input>> call V->dump()</font></div><div><font face="Courier">output>> declare void @_Unwind_Resume(i8*)</font></div><div><br></div><div>Now the funny thing is I don't call this function, it gets inserted into my code when I generate a "resume" instruction using IRBuilder::CreateResume for exception handling.  I've tried adding a declaration for _UnwindResume myself but that doesn't do anything.</div><div><br></div><div>Any help would be appreciated.</div><div><br></div><div>Best,</div><div><br></div><div>Christian Schafmeister</div></body></html>