From: Erick Tryzelaar Date: Mon, 28 Sep 2009 04:42:36 +0000 (+0000) Subject: Fix a bug in ocaml bindings that has incorrect linkage options. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=4aee0410003d873db0d5f76c34ccba7d2d828799;p=oota-llvm.git Fix a bug in ocaml bindings that has incorrect linkage options. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82964 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/bindings/ocaml/llvm/llvm.ml b/bindings/ocaml/llvm/llvm.ml index 25707027b09..64f7c17bde5 100644 --- a/bindings/ocaml/llvm/llvm.ml +++ b/bindings/ocaml/llvm/llvm.ml @@ -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 diff --git a/bindings/ocaml/llvm/llvm.mli b/bindings/ocaml/llvm/llvm.mli index 789a9752011..402bf74411b 100644 --- a/bindings/ocaml/llvm/llvm.mli +++ b/bindings/ocaml/llvm/llvm.mli @@ -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