[LLVMbugs] [Bug 736] NEW: Indirect call crashes JIT on x86 / Darwin

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Thu Apr 13 11:05:13 PDT 2006


http://llvm.org/bugs/show_bug.cgi?id=736

           Summary: Indirect call crashes JIT on x86 / Darwin
           Product: libraries
           Version: trunk
          Platform: Macintosh
        OS/Version: MacOS X
            Status: NEW
          Severity: major
          Priority: P2
         Component: Backend: X86
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: evan.cheng at apple.com


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);



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.




More information about the llvm-bugs mailing list