| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
Closes PR15325.
llvm-svn: 223071
|
|
|
|
| |
llvm-svn: 220898
|
|
|
|
|
|
|
|
|
|
| |
In practice this means:
* Always using -g flag.
* Embedding -cclib -lstdc++ into the corresponding cma/cmxa file.
This also moves -lstdc++ in a single place.
* Using caml_named_value instead of a homegrown mechanism.
llvm-svn: 220843
|
|
|
|
| |
llvm-svn: 220766
|
|
|
|
|
|
|
|
| |
This commit only changes comments and documentation in OCaml bindings. The official name of the language is OCaml, and the usage is now consistent.
Patch by Peter Zotov
llvm-svn: 193836
|
|
|
|
| |
llvm-svn: 160482
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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).
llvm-svn: 122497
|
|
|
|
| |
llvm-svn: 97609
|
|
|
|
|
|
| |
llvm_get_module_provider() was returning a value of the wrong type.
llvm-svn: 97290
|
|
|
|
| |
llvm-svn: 79410
|
|
|
|
| |
llvm-svn: 74064
|
|
|
|
|
|
|
|
| |
ocamldoc. It does not yet hook into the build system, though.
Patch by Erick Tryzelaar!
llvm-svn: 48095
|
|
|
|
| |
llvm-svn: 45452
|
|
|
|
| |
llvm-svn: 45451
|
|
|
|
| |
llvm-svn: 45425
|
|
|
|
| |
llvm-svn: 45416
|
|
|
|
| |
llvm-svn: 45335
|
|
|
|
|
|
| |
to exceptions rather than variants for error handling in Ocaml.
llvm-svn: 45226
|
|
Thompson. Usage should be something like this:
open Llvm
open Llvm_bitreader
match read_bitcode_file fn with
| Bitreader_failure msg ->
prerr_endline msg
| Bitreader_success m ->
...;
dispose_module m
Compile with: ocamlc llvm.cma llvm_bitreader.cma
ocamlopt llvm.cmxa llvm_bitreader.cmxa
llvm-svn: 44824
|