ocaml bindings

everyone--

The OCaml bindings need help again.

diff -r a8c05e69647e import/llvm.org/llvm/bindings/ocaml/llvm/llvm.ml
--- a/import/llvm.org/llvm/bindings/ocaml/llvm/llvm.ml Fri Dec 25 17:35:09 2009 -0800
+++ b/import/llvm.org/llvm/bindings/ocaml/llvm/llvm.ml Sun Dec 27 11:38:15 2009 -0800
@@ -42,13 +42,18 @@
   > External
   > Available_externally
   > Link_once
+ | Link_once_odr
   > Weak
+ | Weak_odr
   > Appending
   > Internal
+ | Private
   > Dllimport
   > Dllexport
   > External_weak
   > Ghost
+ | Common
+ | Linker_private
end

module Visibility = struct
@@ -79,6 +84,15 @@
   > Nest
   > Readnone
   > Readonly
+ | Noinline
+ | Alwaysinline
+ | Optforsize
+ | Stackprotect
+ | Stackprotectreq
+ | Nocapture
+ | Noredzone
+ | Noimplicitfloat
+ | Naked
end

module Icmp = struct
diff -r a8c05e69647e import/llvm.org/llvm/bindings/ocaml/llvm/llvm.mli
--- a/import/llvm.org/llvm/bindings/ocaml/llvm/llvm.mli Fri Dec 25 17:35:09 2009 -0800
+++ b/import/llvm.org/llvm/bindings/ocaml/llvm/llvm.mli Sun Dec 27 11:38:15 2009 -0800
@@ -82,13 +82,18 @@
     External
   > Available_externally
   > Link_once
+ | Link_once_odr
   > Weak
+ | Weak_odr
   > Appending
   > Internal
+ | Private
   > Dllimport
   > Dllexport
   > External_weak
   > Ghost
+ | Common
+ | Linker_private
end

(** The linker visibility of a global value, accessed with {!visibility} and
@@ -118,7 +123,7 @@

module Attribute : sig
   type t =
- | Zext
+ Zext
   > Sext
   > Noreturn
   > Inreg
@@ -129,6 +134,15 @@
   > Nest
   > Readnone
   > Readonly
+ | Noinline
+ | Alwaysinline
+ | Optforsize
+ | Stackprotect
+ | Stackprotectreq
+ | Nocapture
+ | Noredzone
+ | Noimplicitfloat
+ | Naked
end

(** The predicate for an integer comparison ([icmp]) instruction.

everyone--

The OCaml bindings need help again.

Please attach this as a .patch file and I'd be happy to apply it for you,

-Chris

I hope I composed this patch file properly. Let me know if I need to try again.

ocaml-bindings-2.6.patch (1.61 KB)

Ah, it looks like the bindings have already been updated on mainline.

-Chris