summaryrefslogtreecommitdiffstats
path: root/llvm/bindings/ocaml/linker/linker_ocaml.c
Commit message (Collapse)AuthorAgeFilesLines
* [OCaml] Use LLVMCreateMessage with constant strings when calling llvm_raiseJeroen Ketema2016-04-011-1/+2
| | | | | | | | | | | The llvm_string_of_message function, called by llvm_raise, calls LLVMDisposeMessage, which expects the message to be dynamically allocated; it fails freeing the message otherwise. So always dynamically allocate with LLVMCreateMessage. Differential Revision: http://reviews.llvm.org/D18675 llvm-svn: 265116
* Change linkInModule to take a std::unique_ptr.Rafael Espindola2015-12-161-4/+2
| | | | | | | Passing in a std::unique_ptr should help find errors when the module is used after being linked into another module. llvm-svn: 255842
* Finish removing DestroySource.Rafael Espindola2014-12-231-3/+3
| | | | | | Fixes pr21901. llvm-svn: 224782
* [OCaml] Ensure consistent naming.Peter Zotov2014-10-311-1/+1
| | | | | | | | | Specifically: * Directories match module names. * Test names match module names. * The language is called "OCaml", not "Ocaml". llvm-svn: 220958
* [OCaml] De-duplicate llvm_raise and llvm_string_of_message.Peter Zotov2014-10-301-10/+1
| | | | llvm-svn: 220898
* [OCaml] Drop support for 3.12.1 and earlier.Peter Zotov2014-10-291-15/+4
| | | | | | | | | | 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
* [OCaml] Implement Llvm_linker, bindings for the IR linkerPeter Zotov2013-11-031-0/+54
llvm-svn: 193951
OpenPOWER on IntegriCloud