forked from OSchip/llvm-project
Fix a bug in ocaml bindings that has incorrect linkage options.
llvm-svn: 82964
This commit is contained in:
parent
e6688e653f
commit
b0d17ac4ef
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue