[LLVMdev] ocaml bindings
james woodyatt
jhw at conjury.org
Sun Dec 27 11:41:52 PST 2009
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.
—
j h woodyatt <jhw at conjury.org>
http://jhw.vox.com/
More information about the llvm-dev
mailing list