[llvm-bugs] [Bug 28934] New: LLVMRunFunction does not work properly with MCJIT
via llvm-bugs
llvm-bugs at lists.llvm.org
Wed Aug 10 23:41:37 PDT 2016
https://llvm.org/bugs/show_bug.cgi?id=28934
Bug ID: 28934
Summary: LLVMRunFunction does not work properly with MCJIT
Product: libraries
Version: 3.8
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: MCJIT
Assignee: unassignedbugs at nondot.org
Reporter: llvm at henning-thielemann.de
CC: llvm-bugs at lists.llvm.org
Classification: Unclassified
Since I switched to MCJIT, LLVMRunFunction crashes on my generated functions.
In the e-mail thread "crash JIT with AVX intrinsics":
http://lists.llvm.org/pipermail/llvm-dev/2016-August/103598.html
it was explained to me that LLVMRunFunction works only on "main" like
prototypes.
However, with the old JIT up to LLVM-3.5 it worked on all function prototypes I
tried.
Please,
1. make LLVMRunFunction, again, or
2. if you cannot fix it or it is not economical to fix it, deprecate it or
remove it, and document how to replace LLVMRunFunction, maybe by
LLVMGetPointerToGlobal, and please give me some explanation why LLVMRunFunction
was degraded.
--
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/20160811/e846e871/attachment.html>
More information about the llvm-bugs
mailing list