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: unassignedb...@nondot.org
          Reporter: l...@henning-thielemann.de
                CC: llvm-bugs@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to