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