[all-commits] [llvm/llvm-project] f7be9d: [OCaml] Fix buildbot failure in OCaml tests

Vaivaswatha N via All-commits all-commits at lists.llvm.org
Tue Mar 16 23:02:04 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f7be9db6220cb39f0eaa12d2af3abedf0d86c303
      https://github.com/llvm/llvm-project/commit/f7be9db6220cb39f0eaa12d2af3abedf0d86c303
  Author: Vaivaswatha Nagaraj <vaivaswatha at zilliqa.com>
  Date:   2021-03-17 (Wed, 17 Mar 2021)

  Changed paths:
    M llvm/bindings/ocaml/llvm/llvm_ocaml.c

  Log Message:
  -----------
  [OCaml] Fix buildbot failure in OCaml tests

The commit 506df1bbfd16233134a6ddea96ed2d49077840fd introduced
a call to `caml_alloc_initialized_string` which seems to be
unavailable on older OCaml versions. So I'm now switching to
using `caml_alloc_string` and using a `memcpy` after that, as
is done in the rest of the file.

Buildbot failure:
https://lab.llvm.org/buildbot/#/builders/16/builds/7919




More information about the All-commits mailing list