-
Notifications
You must be signed in to change notification settings - Fork 14.8k
Closed
Labels
Description
Bugzilla Link | 2927 |
Resolution | FIXED |
Resolved on | Nov 19, 2008 21:13 |
Version | trunk |
OS | Windows 2000 |
Attachments | C++ tests case that crashes when calling C function., C++ tests case that crashes when calling C function, C++ tests case that crashes when calling C function (fixed) |
CC | @asl |
Extended Description
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.