[llvm-commits] [PATCH] Expose Pass and PassManager classes to c and ocaml bindings.

Erick Tryzelaar idadesub at users.sourceforge.net
Tue Mar 11 01:07:13 PDT 2008


Turns out there were some bugs in the last version of this
patch. I also changed the ocaml pass interface to store the
pass and functionpass in their own unique module as that
should allow for shorter function names as the modules grow.
---
 bindings/ocaml/llvm/llvm.ml      |   45 +++++++++++++++++++++++
 bindings/ocaml/llvm/llvm.mli     |   74 +++++++++++++++++++++++++++++++++++++
 bindings/ocaml/llvm/llvm_ocaml.c |   75 ++++++++++++++++++++++++++++++++++++++
 include/llvm-c/Core.h            |   64 ++++++++++++++++++++++++++++++++
 lib/VMCore/Pass.cpp              |    9 +++++
 lib/VMCore/PassManager.cpp       |   43 ++++++++++++++++++++++
 6 files changed, 310 insertions(+), 0 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 01d68790136df154a9834bbf607659c8fe274ff6.diff
Type: text/x-patch
Size: 14332 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20080311/17a14469/attachment.bin>


More information about the llvm-commits mailing list