Lines Matching refs:ELFSymbol
94 auto ELFSymbol = cast<MCSymbolELF>(Symbol); in HexagonMCEmitCommonSymbol() local
95 if (!ELFSymbol->isBindingSet()) { in HexagonMCEmitCommonSymbol()
96 ELFSymbol->setBinding(ELF::STB_GLOBAL); in HexagonMCEmitCommonSymbol()
97 ELFSymbol->setExternal(true); in HexagonMCEmitCommonSymbol()
100 ELFSymbol->setType(ELF::STT_OBJECT); in HexagonMCEmitCommonSymbol()
102 if (ELFSymbol->getBinding() == ELF::STB_LOCAL) { in HexagonMCEmitCommonSymbol()
112 if (ELFSymbol->isUndefined()) { in HexagonMCEmitCommonSymbol()
124 if (ELFSymbol->declareCommon(Size, ByteAlignment)) in HexagonMCEmitCommonSymbol()
132 ELFSymbol->setIndex(SectionIndex); in HexagonMCEmitCommonSymbol()
136 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()