[LLVMbugs] [Bug 20851] New: MCJIT is failing when used with more that one module
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Thu Sep 4 18:07:44 PDT 2014
http://llvm.org/bugs/show_bug.cgi?id=20851
Bug ID: 20851
Summary: MCJIT is failing when used with more that one module
Product: libraries
Version: trunk
Hardware: PC
OS: All
Status: NEW
Severity: normal
Priority: P
Component: Target-Independent JIT
Assignee: unassignedbugs at nondot.org
Reporter: deadalnix at gmail.com
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
Sample code: http://pastebin.com/fL1yTVCk
Compilation: gcc fail.c -m64
`/Users/amaury/d/llvm/build/Debug+Asserts/bin/llvm-config --cflags`
`/Users/amaury/d/llvm/build/Debug+Asserts/bin/llvm-config --ldflags`
`/Users/amaury/d/llvm/build/Debug+Asserts/bin/llvm-config --libs` -lc++
-lncurses -lz
$ ./a.out
; ModuleID = 'm1'
; ModuleID = 'm2'
define i32 @foo() {
ret i32 42
}
Bus error: 10
Further exploration showed me that the failure happen when calling the Jitted
function. It look like the generated code is invalid.
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20140905/9ba93a00/attachment.html>
More information about the llvm-bugs
mailing list