Displaying 1 result from an estimated 1 matches for "getvisibility".
Did you mean:
setvisibility
2016 Apr 20
2
Dead (or untested?) code in the gold plugin
...;
- if (A == GlobalValue::ProtectedVisibility)
- return A;
return B;
}
@@ -520,15 +518,9 @@ static ld_plugin_status claim_file_hook(const
ld_plugin_input_file *file,
Res.IsLinkonceOdr &= GV->hasLinkOnceLinkage();
Res.Visibility = getMinVisibility(Res.Visibility, GV->getVisibility());
switch (GV->getVisibility()) {
- case GlobalValue::DefaultVisibility:
- sym.visibility = LDPV_DEFAULT;
- break;
case GlobalValue::HiddenVisibility:
sym.visibility = LDPV_HIDDEN;
break;
- case GlobalValue::ProtectedVisibility:
- s...