[LLVMbugs] [Bug 3110] New: runFunction and fastcc

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Sat Nov 22 03:08:07 PST 2008


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

           Summary: runFunction and fastcc
           Product: libraries
           Version: 2.4
          Platform: Macintosh
        OS/Version: MacOS X
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Target-Independent JIT
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: rich at rd.gen.nz
                CC: llvmbugs at cs.uiuc.edu


When I upgraded from LLVM 2.3 to 2.4 recently I ran into a problem with calling
into fastcc functions using the JIT. I'm raising it here because I didn't have
this problem with 2.3. It could be a regression, or LLVM 2.4 could just be
better at letting me know that I'm using it wrong. :-)

I've attached the smallest testcase I could come up with. The attached code
will run fine while "func->setCallingConv(CallingConv::Fast)" is commented out.
Uncommenting it will cause a segfault, which didn't happen in 2.3.

I'm running Mac OS 10.4.11, compiling with GCC 4.0.1.

Cheers
Rich


-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list