http://llvm.org/bugs/show_bug.cgi?id=2927
Summary: Calling a function from the JIT segfaults.
Product: libraries
Version: trunk
Platform: PC
OS/Version: Windows 2000
Status: NEW
Severity: normal
Priority: P2
Component: Backend: X86
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]
CC: [email protected]
Created an attachment (id=2119)
--> (http://llvm.org/bugs/attachment.cgi?id=2119)
C++ tests case that crashes when calling C function.
On the x86-64 JIT, calling a C function registered via
ExecutionEngine::addGlobalMapping, produces a crash.
Inpecting the JIT'ed generated machine code shows that the call does not refer
the address of the C function. It is like the global mapping for the function
didn't exist.
Attached is a C++ test case that crashes on x86-64 and succeeds on x86.
--
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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs