[LLVMbugs] [Bug 14050] New: SRet crashes JIT::runFunction()
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Wed Oct 10 05:39:00 PDT 2012
http://llvm.org/bugs/show_bug.cgi?id=14050
Bug #: 14050
Summary: SRet crashes JIT::runFunction()
Product: libraries
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P
Component: Target-Independent JIT
AssignedTo: unassignedbugs at nondot.org
ReportedBy: Axel.Naumann at cern.ch
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
Created attachment 9326
--> http://llvm.org/bugs/attachment.cgi?id=9326
Reproducer
Hi,
attached example, executed on Linux i686 (!), crashes likely due to the caller
and callee disagreeing on the stack layout / call setup / SRet passing.
Commenting JIT.cpp 406-451 (the shortcuts for the common cases) makes it work.
Should there be a "&& ! F->hasStructRetAttr()" in that shortcut condition, line
406?
Axel.
--
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