Fix a bug in ocaml bindings that has incorrect linkage options.
authorErick Tryzelaar <idadesub@users.sourceforge.net>
Mon, 28 Sep 2009 04:42:36 +0000 (04:42 +0000)
committerErick Tryzelaar <idadesub@users.sourceforge.net>
Mon, 28 Sep 2009 04:42:36 +0000 (04:42 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82964 91177308-0d34-0410-b5e6-96231b3b80d8

bindings/ocaml/llvm/llvm.ml
bindings/ocaml/llvm/llvm.mli

index 25707027b09426a21ff9e31996a0104982bd8592..64f7c17bde5453d8bca5298ffbaed0c9b93ec00c 100644 (file)
@@ -42,13 +42,18 @@ module Linkage = struct
   | 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
index 789a975201120db6b259e8bab90ce5dfc883fcf8..402bf74411bc58f0dee5b42164e5e65fc0c6ca99 100644 (file)
@@ -82,13 +82,18 @@ module Linkage : sig
     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