Lines Matching refs:ELFSymbol
97 auto ELFSymbol = cast<MCSymbolELF>(Symbol); in HexagonMCEmitCommonSymbol() local
98 if (!ELFSymbol->isBindingSet()) { in HexagonMCEmitCommonSymbol()
99 ELFSymbol->setBinding(ELF::STB_GLOBAL); in HexagonMCEmitCommonSymbol()
100 ELFSymbol->setExternal(true); in HexagonMCEmitCommonSymbol()
103 ELFSymbol->setType(ELF::STT_OBJECT); in HexagonMCEmitCommonSymbol()
105 if (ELFSymbol->getBinding() == ELF::STB_LOCAL) { in HexagonMCEmitCommonSymbol()
125 if (ELFSymbol->declareCommon(Size, ByteAlignment)) in HexagonMCEmitCommonSymbol()
133 ELFSymbol->setIndex(SectionIndex); in HexagonMCEmitCommonSymbol()
137 ELFSymbol->setSize(MCConstantExpr::create(Size, getContext())); in HexagonMCEmitCommonSymbol()
144 auto ELFSymbol = cast<MCSymbolELF>(Symbol); in HexagonMCEmitLocalCommonSymbol() local
145 ELFSymbol->setBinding(ELF::STB_LOCAL); in HexagonMCEmitLocalCommonSymbol()
146 ELFSymbol->setExternal(false); in HexagonMCEmitLocalCommonSymbol()