Lines Matching full:symbol

78 void MCWinCOFFStreamer::EmitLabel(MCSymbol *Symbol) {  in EmitLabel()  argument
79 assert(Symbol->isUndefined() && "Cannot define a symbol twice!"); in EmitLabel()
80 MCObjectStreamer::EmitLabel(Symbol); in EmitLabel()
91 bool MCWinCOFFStreamer::EmitSymbolAttribute(MCSymbol *Symbol, in EmitSymbolAttribute() argument
93 assert(Symbol && "Symbol must be non-null!"); in EmitSymbolAttribute()
94 assert((!Symbol->isInSection() || in EmitSymbolAttribute()
95 Symbol->getSection().getVariant() == MCSection::SV_COFF) && in EmitSymbolAttribute()
98 getAssembler().registerSymbol(*Symbol); in EmitSymbolAttribute()
104 cast<MCSymbolCOFF>(Symbol)->setIsWeakExternal(); in EmitSymbolAttribute()
105 Symbol->setExternal(true); in EmitSymbolAttribute()
108 Symbol->setExternal(true); in EmitSymbolAttribute()
115 void MCWinCOFFStreamer::EmitSymbolDesc(MCSymbol *Symbol, unsigned DescValue) { in EmitSymbolDesc() argument
119 void MCWinCOFFStreamer::BeginCOFFSymbolDef(MCSymbol const *Symbol) { in BeginCOFFSymbolDef() argument
120 assert((!Symbol->isInSection() || in BeginCOFFSymbolDef()
121 Symbol->getSection().getVariant() == MCSection::SV_COFF) && in BeginCOFFSymbolDef()
125 Error("starting a new symbol definition without completing the " in BeginCOFFSymbolDef()
127 CurSymbol = Symbol; in BeginCOFFSymbolDef()
132 Error("storage class specified outside of symbol definition"); in EmitCOFFSymbolStorageClass()
148 Error("symbol type specified outside of a symbol definition"); in EmitCOFFSymbolType()
163 Error("ending symbol definition without starting one"); in EndCOFFSymbolDef()
167 void MCWinCOFFStreamer::EmitCOFFSafeSEH(MCSymbol const *Symbol) { in EmitCOFFSafeSEH() argument
174 const MCSymbolCOFF *CSymbol = cast<MCSymbolCOFF>(Symbol); in EmitCOFFSafeSEH()
183 new MCSafeSEHFragment(Symbol, SXData); in EmitCOFFSafeSEH()
185 getAssembler().registerSymbol(*Symbol); in EmitCOFFSafeSEH()
188 // The Microsoft linker requires that the symbol type of a handler be in EmitCOFFSafeSEH()
194 void MCWinCOFFStreamer::EmitCOFFSectionIndex(MCSymbol const *Symbol) { in EmitCOFFSectionIndex() argument
196 const MCSymbolRefExpr *SRE = MCSymbolRefExpr::create(Symbol, getContext()); in EmitCOFFSectionIndex()
202 void MCWinCOFFStreamer::EmitCOFFSecRel32(MCSymbol const *Symbol) { in EmitCOFFSecRel32() argument
204 const MCSymbolRefExpr *SRE = MCSymbolRefExpr::create(Symbol, getContext()); in EmitCOFFSecRel32()
210 void MCWinCOFFStreamer::EmitCommonSymbol(MCSymbol *Symbol, uint64_t Size, in EmitCommonSymbol() argument
212 assert((!Symbol->isInSection() || in EmitCommonSymbol()
213 Symbol->getSection().getVariant() == MCSection::SV_COFF) && in EmitCommonSymbol()
225 getAssembler().registerSymbol(*Symbol); in EmitCommonSymbol()
226 Symbol->setExternal(true); in EmitCommonSymbol()
227 Symbol->setCommon(Size, ByteAlignment); in EmitCommonSymbol()
234 OS << " -aligncomm:\"" << Symbol->getName() << "\"," in EmitCommonSymbol()
244 void MCWinCOFFStreamer::EmitLocalCommonSymbol(MCSymbol *Symbol, uint64_t Size, in EmitLocalCommonSymbol() argument
246 assert(!Symbol->isInSection() && "Symbol must not already have a section!"); in EmitLocalCommonSymbol()
253 getAssembler().registerSymbol(*Symbol); in EmitLocalCommonSymbol()
254 Symbol->setExternal(false); in EmitLocalCommonSymbol()
262 Symbol->setFragment(Fragment); in EmitLocalCommonSymbol()
265 void MCWinCOFFStreamer::EmitZerofill(MCSection *Section, MCSymbol *Symbol, in EmitZerofill() argument
270 void MCWinCOFFStreamer::EmitTBSSSymbol(MCSection *Section, MCSymbol *Symbol, in EmitTBSSSymbol() argument