mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-23 14:03:14 +00:00
Fix a bug in ocaml bindings that has incorrect linkage options.
llvm-svn: 82964
This commit is contained in:
parent
d020f235d5
commit
9212efe029
@ -42,13 +42,18 @@ module Linkage = struct
|
|||||||
| External
|
| External
|
||||||
| Available_externally
|
| Available_externally
|
||||||
| Link_once
|
| Link_once
|
||||||
|
| Link_once_odr
|
||||||
| Weak
|
| Weak
|
||||||
|
| Weak_odr
|
||||||
| Appending
|
| Appending
|
||||||
| Internal
|
| Internal
|
||||||
|
| Private
|
||||||
| Dllimport
|
| Dllimport
|
||||||
| Dllexport
|
| Dllexport
|
||||||
| External_weak
|
| External_weak
|
||||||
| Ghost
|
| Ghost
|
||||||
|
| Common
|
||||||
|
| Linker_private
|
||||||
end
|
end
|
||||||
|
|
||||||
module Visibility = struct
|
module Visibility = struct
|
||||||
|
@ -82,13 +82,18 @@ module Linkage : sig
|
|||||||
External
|
External
|
||||||
| Available_externally
|
| Available_externally
|
||||||
| Link_once
|
| Link_once
|
||||||
|
| Link_once_odr
|
||||||
| Weak
|
| Weak
|
||||||
|
| Weak_odr
|
||||||
| Appending
|
| Appending
|
||||||
| Internal
|
| Internal
|
||||||
|
| Private
|
||||||
| Dllimport
|
| Dllimport
|
||||||
| Dllexport
|
| Dllexport
|
||||||
| External_weak
|
| External_weak
|
||||||
| Ghost
|
| Ghost
|
||||||
|
| Common
|
||||||
|
| Linker_private
|
||||||
end
|
end
|
||||||
|
|
||||||
(** The linker visibility of a global value, accessed with {!visibility} and
|
(** The linker visibility of a global value, accessed with {!visibility} and
|
||||||
|
Loading…
x
Reference in New Issue
Block a user