Indirect call crashes JIT on x86 / Darwin #1108
Labels
backend:X86
bugzilla
Issues migrated from bugzilla
compile-fail
Use [accepts-invalid] and [rejects-valid] instead
Extended Description
See test/Regression/ExecutionEngine/2005-12-02-TailCallBug.ll
After a callback (for lazy compilation), the execution engine would crash in JITCompilerFn(). Looks like the
stub to function look up failed (it actually crashed during the map look up):
// The address given to us for the stub may not be exactly right, it might be
// a little bit after the stub. As such, use upper_bound to find it.
std::map<void*, Function*>::iterator I =
JR.state.getStubToFunctionMap(locked).upper_bound(Stub);
The text was updated successfully, but these errors were encountered: