Lines Matching defs:Symbol
41 auto *Symbol = cast<MCSymbolXCOFF>(Sym);
42 getAssembler().registerSymbol(*Symbol);
51 Symbol->setStorageClass(XCOFF::C_EXT);
52 Symbol->setExternal(true);
55 Symbol->setStorageClass(XCOFF::C_HIDEXT);
56 Symbol->setExternal(true);
59 Symbol->setStorageClass(XCOFF::C_WEAKEXT);
60 Symbol->setExternal(true);
63 Symbol->setVisibilityType(XCOFF::SYM_V_HIDDEN);
66 Symbol->setVisibilityType(XCOFF::SYM_V_PROTECTED);
69 Symbol->setVisibilityType(XCOFF::SYM_V_EXPORTED);
78 MCSymbol *Symbol, MCSymbolAttr Linkage, MCSymbolAttr Visibility) {
80 emitSymbolAttribute(Symbol, Linkage);
86 emitSymbolAttribute(Symbol, Visibility);
89 void MCXCOFFStreamer::emitXCOFFRefDirective(const MCSymbol *Symbol) {
93 const MCSymbolRefExpr *SRE = MCSymbolRefExpr::create(Symbol, getContext());
106 const MCSymbolXCOFF *Symbol = cast<const MCSymbolXCOFF>(Name);
107 if (!Symbol->hasRename())
111 void MCXCOFFStreamer::emitXCOFFExceptDirective(const MCSymbol *Symbol,
116 getWriter().addExceptionEntry(Symbol, Trap, Lang, Reason, FunctionSize,
124 void MCXCOFFStreamer::emitCommonSymbol(MCSymbol *Symbol, uint64_t Size,
126 getAssembler().registerSymbol(*Symbol);
127 Symbol->setExternal(cast<MCSymbolXCOFF>(Symbol)->getStorageClass() !=
129 Symbol->setCommon(Size, ByteAlignment);
133 cast<MCSymbolXCOFF>(Symbol)->getRepresentedCsect()->setAlignment(
141 void MCXCOFFStreamer::emitZerofill(MCSection *Section, MCSymbol *Symbol,