[LLVMdev] ocaml bindings

Chris Lattner clattner at apple.com
Sun Dec 27 21:23:45 PST 2009


On Dec 27, 2009, at 11:41 AM, james woodyatt wrote:

> 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

> 
> 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.
> 
> 
> 
> 
>> j h woodyatt <jhw at conjury.org>
> http://jhw.vox.com/
> 
> 
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev





More information about the llvm-dev mailing list