This project defines some utilities to handle and manipulate the inlining
reports generated by the ocamlopt native compiler.
WARNING: this is still highly experimental
Since dune generates opam files, this repo can be pinned using opam:
opam pin add ocir https://github.com/Gbury/ocir
Since the project builds with dune, it should be easy to build and install:
dune build @install # to build the installable parts
dune install # to install the lib and binary
Or you can also vendor the project.
Currently the ocir library is composed of two small parts:
ocir_coredefines a central notion of inlining report, and some printing functions (more to come later).ocir_formatdefines converters to read serialized inlining reports and convert them to the inlining report type defined inocir_core.
Additionally, an ocir binary exists. This binary is currently very
limited and simply reads a serialized inlining report and prints it
in human readable format on stdout.
See HACKING.md
TODO ?