[PATCH] D65070: [LLVM-C][OCaml] Add a fast linker binding

Timotej Kapus via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 22 03:02:12 PDT 2019


kren1 created this revision.
kren1 added reviewers: whitequark, hiraditya.
Herald added a reviewer: deadalnix.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

The current LLVM-C/Ocaml linker API is very slow when linking many files
together. This patch exposes and additional API that does not destroy
the Linker object between each linking call.


Repository:
  rL LLVM

https://reviews.llvm.org/D65070

Files:
  bindings/ocaml/linker/linker_ocaml.c
  bindings/ocaml/linker/llvm_linker.ml
  bindings/ocaml/linker/llvm_linker.mli
  bindings/ocaml/llvm/llvm.ml
  bindings/ocaml/llvm/llvm.mli
  include/llvm-c/Linker.h
  include/llvm-c/Types.h
  lib/Linker/LinkModules.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D65070.211038.patch
Type: text/x-patch
Size: 4902 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190722/33319ad5/attachment.bin>


More information about the llvm-commits mailing list