Skip to content

Commit 643a75b

Browse files
committed
Add visibility enum values to lib.llvm.
1 parent e99feab commit 643a75b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/comp/lib/llvm.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,9 @@ const uint LLVMColdCallConv = 9u;
4444
const uint LLVMX86StdcallCallConv = 64u;
4545
const uint LLVMX86FastcallCallConv = 65u;
4646

47+
const uint LLVMDefaultVisibility = 0u;
48+
const uint LLVMHiddenVisibility = 1u;
49+
const uint LLVMProtectedVisibility = 2u;
4750

4851
const uint LLVMExternalLinkage = 0u;
4952
const uint LLVMAvailableExternallyLinkage = 1u;

0 commit comments

Comments
 (0)