Displaying 1 result from an estimated 1 matches for "rewindfunct".
2011 Nov 10
1
[LLVMdev] problem with DwarfEHPrepare::InsertUnwindResumeCalls in multiple JIT context?
...with DwarfEHPrepare::InsertUnwindResumeCalls when using JIT? It appears that the block of code below in this function doesn't correctly handle the case where the rewind function is removed from the module by some other pass (when its unused for instance), and multiple functions are JITed. The RewindFunction variable will get set once, then when the rewind function is removed it never gets updated. Is this just an unsupported use case of calling the JIT multiple times, or am I missing something? Thanks!
Damien
if (!RewindFunction) {
LLVMContext &Ctx = Resumes[0]->getContext();
Fu...