[PATCH] D99403: [OCaml][DebugInfo] Add tests for the recently added debug info API

Vaivaswatha Nagaraj via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 26 02:18:41 PDT 2021


vaivaswatha created this revision.
vaivaswatha added a reviewer: jberdine.
Herald added a reviewer: whitequark.
Herald added a subscriber: delcypher.
vaivaswatha requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

In the process of adding the tests, several bugs were found in the implementation and interface of the API and they were fixed.

Some utilities from the core tests (core.ml) were moved into a separate file for reuse.

The following new functions have been added: `dibuild_create_global_variable_expression`, `dibuild_create_constant_value_expression` and `llmetadata_null`. The third one already existed but is now exposed publicly.


https://reviews.llvm.org/D99403

Files:
  llvm/bindings/ocaml/debuginfo/debuginfo_ocaml.c
  llvm/bindings/ocaml/debuginfo/llvm_debuginfo.ml
  llvm/bindings/ocaml/debuginfo/llvm_debuginfo.mli
  llvm/test/Bindings/OCaml/.ocamlformat
  llvm/test/Bindings/OCaml/Utils/Testsuite.ml
  llvm/test/Bindings/OCaml/Utils/lit.local.cfg
  llvm/test/Bindings/OCaml/core.ml
  llvm/test/Bindings/OCaml/debuginfo.ml

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D99403.333512.patch
Type: text/x-patch
Size: 34076 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210326/42913e62/attachment.bin>


More information about the llvm-commits mailing list