summaryrefslogtreecommitdiffstats
path: root/llvm/bindings/ocaml/linker/linker_ocaml.c
Commit message (Collapse)AuthorAgeFilesLines
* Update the file headers across all of the LLVM projects in the monorepoChandler Carruth2019-01-191-4/+4
| | | | | | | | | | | | | | | | | to reflect the new license. We understand that people may be surprised that we're moving the header entirely to discuss the new license. We checked this carefully with the Foundation's lawyer and we believe this is the correct approach. Essentially, all code in the project is now made available by the LLVM project under our new license, so you will see that the license headers include that license only. Some of our contributors have contributed code under our old license, and accordingly, we have retained a copy of our old license notice in the top-level files in each project and repository. llvm-svn: 351636
* [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