[llvm] r180229 - Exposing MCJIT through C API
Kaylor, Andrew
andrew.kaylor at intel.com
Fri Apr 26 16:55:51 PDT 2013
Great! I'll have a look at this on Monday and commit it then if everything works for me.
Thanks for working through this linking issue!
-Andy
From: Filip Pizlo [mailto:fpizlo at apple.com]
Sent: Friday, April 26, 2013 4:26 PM
To: Rafael Espíndola
Cc: llvm-commits; Kaylor, Andrew; Török Edvin
Subject: Re: [llvm] r180229 - Exposing MCJIT through C API
This fixes it.
The problem was the OCaml tests were linking ExecutionEngine but not any JITs, and my changes to ExecutionEngineBindings.cpp introduced a dependency from libLLVMExecutionEngine.a to libLLVMMCJIT.a. I don't think we want that dependency. The fix, which this patch does, is to not have ExecutionEngineBindings allocate SectionMemoryManager, but instead to have MCJIT assume that it should allocate a SectionMemoryManager for you if MM == 0.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130426/576e3ced/attachment.html>
More information about the llvm-commits
mailing list