[llvm] [RemoveDIs] Update DIBuilder C API with DbgRecord functions. (PR #95535)

Carlos Alberto Enciso via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 17 01:25:13 PDT 2024


CarlosAlbertoEnciso wrote:

@alan-j-hu: looking at the original rework of the C-API, it seems that you run the unit test for the OCaml bindings.
https://github.com/llvm/llvm-project/pull/92417#issuecomment-2116328768

I followed https://ocaml.org/docs/installing-ocaml to install OCaml and added `LLVM_ENABLE_BINDINGS` to enable the OCaml buildings.

Running `ninja check-llvm-bindings` I get the following error:

File "....../test/Bindings/OCaml/Output/debuginfo.ml.tmp/debuginfo.ml", line 19, characters 20-50:
19 | let null_metadata = Llvm_debuginfo.llmetadata_null ()
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Error: Unbound module "Llvm_debuginfo"

Is there any more specific instructions that I can follow for the OCaml bindings. Thanks 

https://github.com/llvm/llvm-project/pull/95535


More information about the llvm-commits mailing list