[PATCH] D60902: [OCaml] Add OCaml APIs to access DebugInfo

Josh Berdine via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 19 08:07:47 PDT 2019


jberdine created this revision.
jberdine added reviewers: whitequark, deadalnix.
Herald added subscribers: llvm-commits, mgorny.
Herald added a project: LLVM.

This diff adds a debuginfo sublibrary to the ocaml bindings
library. This is used to expose the DebugInfo API, mostly as declared
in include/llvm-c/DebugInfo.h. Currently this is incomplete: only
containing the functions needed to obtain the debug location
directory, filename, line, and column of instructions, global
variables, and functions.


Repository:
  rL LLVM

https://reviews.llvm.org/D60902

Files:
  bindings/ocaml/CMakeLists.txt
  bindings/ocaml/debuginfo/CMakeLists.txt
  bindings/ocaml/debuginfo/debuginfo_ocaml.c
  bindings/ocaml/debuginfo/llvm_debuginfo.ml
  bindings/ocaml/debuginfo/llvm_debuginfo.mli
  bindings/ocaml/llvm/META.llvm.in
  bindings/ocaml/llvm/llvm.ml
  bindings/ocaml/llvm/llvm.mli
  bindings/ocaml/llvm/llvm_ocaml.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D60902.195875.patch
Type: text/x-patch
Size: 13762 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190419/7ed5b258/attachment.bin>


More information about the llvm-commits mailing list