Implement visibility checking during linking. Also implement protected

visibility support for bitcode.

llvm-svn: 36577
This commit is contained in:
Anton Korobeynikov committed 2007-04-29 20:56:48 +00:00
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;
}
}