First Last Prev Next    No search results available
Details
: Indirect call crashes JIT on x86 / Darwin
Bug#: 736
: libraries
: Backend: X86
Status: RESOLVED
Resolution: FIXED
: Macintosh
: MacOS X
: 1.7
: P2
: major
: 1.8

:
: compile-fail
:
:
  Show dependency tree - Show dependency graph
People
Reporter: Evan Cheng <evan.cheng@apple.com>
Assigned To: Unassigned LLVM Bugs <unassignedbugs@nondot.org>
:

Attachments


Note

You need to log in before you can comment on or make changes to this bug.

Related actions


Description:   Opened: 2006-04-13 13:05
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);
------- Comment #1 From Nate Begeman 2006-05-01 13:46:12 -------
This appears to be working now, I can't reproduce the crash with the new front
end and TOT llvm.

First Last Prev Next    No search results available