Implement visibility checking during linking. Also implement protected
visibility support for bitcode. llvm-svn: 36577
This commit is contained in:
1 parent
1684cee5a2
commit
31fc4f9526
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