mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-10-25 03:03:31 +00:00
Implement visibility checking during linking. Also implement protected
visibility support for bitcode. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36577 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
1 parent
4238d474b4
commit
9cd3ccf506
3 files changed
+18
-3
No files matched your search
@@ -59,6 +59,7 @@ static GlobalValue::VisibilityTypes GetDecodedVisibility(unsigned Val) {
|
||||
default: // Map unknown visibilities to default.
|
||||
case 0: return GlobalValue::DefaultVisibility;
|
||||
case 1: return GlobalValue::HiddenVisibility;
|
||||
case 2: return GlobalValue::ProtectedVisibility;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user