Lines Matching defs:Visibility
147 void MCSymbolELF::setVisibility(unsigned Visibility) {
148 assert(Visibility == ELF::STV_DEFAULT || Visibility == ELF::STV_INTERNAL ||
149 Visibility == ELF::STV_HIDDEN || Visibility == ELF::STV_PROTECTED);
152 setFlags(OtherFlags | (Visibility << ELF_STV_Shift));
156 unsigned Visibility = (getFlags() & (0x3 << ELF_STV_Shift)) >> ELF_STV_Shift;
157 assert(Visibility == ELF::STV_DEFAULT || Visibility == ELF::STV_INTERNAL ||
158 Visibility == ELF::STV_HIDDEN || Visibility == ELF::STV_PROTECTED);
159 return Visibility;