History log of /external/llvm/bindings/ocaml/executionengine/llvm_executionengine.mli
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
791cfc211a9801002bfda6b3eb4de7e041f04f53 08-Oct-2012 Micah Villmow <villmow@gmail.com> Move TargetData to DataLayout.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165403 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/bindings/ocaml/executionengine/llvm_executionengine.mli
a156efdf71bc668093e31593713694cf076db895 23-Dec-2010 Torok Edwin <edwintorok@gmail.com> Fix OCaml bindings crash, PR8847.

See http://caml.inria.fr/mantis/view.php?id=4166
If we call only external functions from a module, then its 'let _' bindings
don't get executed, which means that the exceptions don't get registered for use
in the C code.
This in turn causes llvm_raise to call raise_with_arg() with a NULL pointer and
cause a segmentation fault.

The workaround is to declare all 'external' functions as 'val' in these .mli
files.

Also added a separate testcase (the testcase must call only external functions
for the bug to occur).


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122497 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/bindings/ocaml/executionengine/llvm_executionengine.mli
9c7c566efe4b942ed8597156bf66e9abf98c79b5 04-Mar-2010 Erick Tryzelaar <idadesub@users.sourceforge.net> Rename some ocaml functions.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97684 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/bindings/ocaml/executionengine/llvm_executionengine.mli
7b3afb4547c943565e9c5740dd60de3bce5a2793 04-Mar-2010 Erick Tryzelaar <idadesub@users.sourceforge.net> Expose the external functions for ocaml's execution engine as an optimization.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97683 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/bindings/ocaml/executionengine/llvm_executionengine.mli
0dd27da1841ca50d00aad3465f4f9b6a646fd64e 03-Mar-2010 Erick Tryzelaar <idadesub@users.sourceforge.net> Expose the optimization level for the jit in ocaml.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97610 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/bindings/ocaml/executionengine/llvm_executionengine.mli
16609f3c5c26ba34603ae0d7ebab86fb11a72722 03-Mar-2010 Erick Tryzelaar <idadesub@users.sourceforge.net> Remove module providers from ocaml.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97609 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/bindings/ocaml/executionengine/llvm_executionengine.mli
46262684285cd7baf74425610228ac8b4547dab1 14-Sep-2009 Erick Tryzelaar <idadesub@users.sourceforge.net> Expose initializing the native target for the execution engine.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81800 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/bindings/ocaml/executionengine/llvm_executionengine.mli
4b1511b027ce0b648b3379f2891816c25b46f515 18-Jul-2009 Reid Kleckner <reid@kleckner.net> Add EngineBuilder to ExecutionEngine in favor of the five optional argument EE::create().

Also a test commit.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76276 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/bindings/ocaml/executionengine/llvm_executionengine.mli
c13c4d6a1bbc91a9e3bb9f964f32f3a999071070 08-Aug-2008 Gordon Henriksen <gordonhenriksen@mac.com> Fix the LLVMCreateJITCompiler C binding.

Evan broke it in r54523 by adding a parameter in the implementation without
updating the header correspondingly.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@54555 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/bindings/ocaml/executionengine/llvm_executionengine.mli
7c1483bc6f009318ce66c4d37d1ba930e01a6d13 27-Mar-2008 Erick Tryzelaar <idadesub@users.sourceforge.net> Expose ExecutionEngine::getTargetData() to c and ocaml bindings.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48851 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/bindings/ocaml/executionengine/llvm_executionengine.mli
3b646de03668fed630f4e3fa9df56a7332a905e4 09-Mar-2008 Gordon Henriksen <gordonhenriksen@mac.com> This patch cleans up the OCaml bindings so that they format nicely with
ocamldoc. It does not yet hook into the build system, though.

Patch by Erick Tryzelaar!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48095 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/bindings/ocaml/executionengine/llvm_executionengine.mli
234d529e582963ad4b5d83b911cd057fe99d1435 29-Dec-2007 Chris Lattner <sabre@nondot.org> remove attribution from a variety of miscellaneous files.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45425 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/bindings/ocaml/executionengine/llvm_executionengine.mli
2e855e68d861224c9b61e2bc9cecad1536b1534b 23-Dec-2007 Gordon Henriksen <gordonhenriksen@mac.com> C and Ocaml bindings for ExecutionEngine (i.e., the JIT compiler).


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45335 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/bindings/ocaml/executionengine/llvm_executionengine.mli