summaryrefslogtreecommitdiff
path: root/bindings
diff options
context:
space:
mode:
authorErick Tryzelaar <idadesub@users.sourceforge.net>2009-09-28 04:42:36 +0000
committerErick Tryzelaar <idadesub@users.sourceforge.net>2009-09-28 04:42:36 +0000
commit4aee0410003d873db0d5f76c34ccba7d2d828799 (patch)
tree920d8a3f71503b427b4413b30126a57b80012cb1 /bindings
parent3128015782709f0e16b1935b9834771047950704 (diff)
downloadllvm-4aee0410003d873db0d5f76c34ccba7d2d828799.tar.gz
llvm-4aee0410003d873db0d5f76c34ccba7d2d828799.tar.bz2
llvm-4aee0410003d873db0d5f76c34ccba7d2d828799.tar.xz
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
Diffstat (limited to 'bindings')
-rw-r--r--bindings/ocaml/llvm/llvm.ml5
-rw-r--r--bindings/ocaml/llvm/llvm.mli5
2 files changed, 10 insertions, 0 deletions
diff --git a/bindings/ocaml/llvm/llvm.ml b/bindings/ocaml/llvm/llvm.ml
index 25707027b0..64f7c17bde 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 789a975201..402bf74411 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