forked from OSchip/llvm-project
Revert 155102 but add a fixme while I debug what is wrong with chrome's
components build. llvm-svn: 155314
This commit is contained in:
parent
8877d68db7
commit
6b6e879221
|
@ -277,10 +277,16 @@ public:
|
||||||
if (visibility() < V)
|
if (visibility() < V)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
// Don't lose the explicit bit for nothing
|
// FIXME: this
|
||||||
if (visibility() == V && visibilityExplicit())
|
// If this visibility is explicit, keep it.
|
||||||
|
if (visibilityExplicit() && !E)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
// should be replaced with this
|
||||||
|
// Don't lose the explicit bit for nothing
|
||||||
|
// if (visibility() == V && visibilityExplicit())
|
||||||
|
// return;
|
||||||
|
|
||||||
setVisibility(V, E);
|
setVisibility(V, E);
|
||||||
}
|
}
|
||||||
void mergeVisibility(LinkageInfo Other) {
|
void mergeVisibility(LinkageInfo Other) {
|
||||||
|
|
|
@ -536,7 +536,9 @@ namespace PR10113 {
|
||||||
};
|
};
|
||||||
template class foo::bar<zed>;
|
template class foo::bar<zed>;
|
||||||
// CHECK: define weak_odr void @_ZN7PR101133foo3barINS_3zedEE3zedEv
|
// CHECK: define weak_odr void @_ZN7PR101133foo3barINS_3zedEE3zedEv
|
||||||
// CHECK-HIDDEN: define weak_odr hidden void @_ZN7PR101133foo3barINS_3zedEE3zedEv
|
|
||||||
|
// FIXME: This should be hidden as zed is hidden.
|
||||||
|
// CHECK-HIDDEN: define weak_odr void @_ZN7PR101133foo3barINS_3zedEE3zedEv
|
||||||
}
|
}
|
||||||
|
|
||||||
namespace PR11690 {
|
namespace PR11690 {
|
||||||
|
@ -567,7 +569,9 @@ namespace PR11690_2 {
|
||||||
};
|
};
|
||||||
template class foo::zed<baz>;
|
template class foo::zed<baz>;
|
||||||
// CHECK: define weak_odr void @_ZN9PR11690_23foo3zedINS_3bazENS0_3barEE3barEv
|
// CHECK: define weak_odr void @_ZN9PR11690_23foo3zedINS_3bazENS0_3barEE3barEv
|
||||||
// CHECK-HIDDEN: define weak_odr hidden void @_ZN9PR11690_23foo3zedINS_3bazENS0_3barEE3barEv
|
|
||||||
|
// FIXME: This should be hidden as baz is hidden.
|
||||||
|
// CHECK-HIDDEN: define weak_odr void @_ZN9PR11690_23foo3zedINS_3bazENS0_3barEE3barEv
|
||||||
}
|
}
|
||||||
|
|
||||||
namespace test23 {
|
namespace test23 {
|
||||||
|
|
Loading…
Reference in New Issue