Lines Matching refs:Sym

121 raw_ostream &operator<<(raw_ostream &OS, const Symbol &Sym) {  in operator <<()  argument
122 OS << Sym.getAddress() << " (" << (Sym.isDefined() ? "block" : "addressable") in operator <<()
123 << " + " << formatv("{0:x8}", Sym.getOffset()) in operator <<()
124 << "): size: " << formatv("{0:x8}", Sym.getSize()) in operator <<()
125 << ", linkage: " << formatv("{0:6}", getLinkageName(Sym.getLinkage())) in operator <<()
126 << ", scope: " << formatv("{0:8}", getScopeName(Sym.getScope())) << ", " in operator <<()
127 << (Sym.isLive() ? "live" : "dead") << " - " in operator <<()
128 << (Sym.hasName() ? Sym.getName() : "<anonymous symbol>"); in operator <<()
164 for (auto *Sym : Symbols) in ~Section() local
165 Sym->~Symbol(); in ~Section()
220 for (auto *Sym : B.getSection().symbols()) in splitBlock() local
221 if (&Sym->getBlock() == &B) in splitBlock()
222 (*Cache)->push_back(Sym); in splitBlock()
233 auto *Sym = BlockSymbols.back(); in splitBlock() local
236 if (Sym->getOffset() + Sym->getSize() > SplitIndex) in splitBlock()
237 Sym->setSize(SplitIndex - Sym->getOffset()); in splitBlock()
238 Sym->setBlock(NewBlock); in splitBlock()
243 for (auto *Sym : BlockSymbols) in splitBlock() local
244 Sym->setOffset(Sym->getOffset() - SplitIndex); in splitBlock()
254 for (auto *Sym : defined_symbols()) in dump() local
255 BlockSymbols[&Sym->getBlock()].push_back(Sym); in dump()
297 for (auto *Sym : Syms) in dump() local
298 OS << " " << *Sym << "\n"; in dump()
333 for (auto *Sym : absolute_symbols()) in dump() local
334 OS << " " << Sym->getAddress() << ": " << *Sym << "\n"; in dump()
340 for (auto *Sym : external_symbols()) in dump() local
341 OS << " " << Sym->getAddress() << ": " << *Sym << "\n"; in dump()
374 for (auto *Sym : G.defined_symbols()) in markAllSymbolsLive() local
375 Sym->setLive(true); in markAllSymbolsLive()
397 for (auto *Sym : Sec.symbols()) in makeTargetOutOfRangeError() local
398 if (&Sym->getBlock() == &B && Sym->hasName() && Sym->getOffset() == 0 && in makeTargetOutOfRangeError()
400 Sym->getScope() < BestSymbolForBlock->getScope() || in makeTargetOutOfRangeError()
401 Sym->getLinkage() < BestSymbolForBlock->getLinkage())) in makeTargetOutOfRangeError()
402 BestSymbolForBlock = Sym; in makeTargetOutOfRangeError()
497 auto &Sym = in absoluteSymbolsLinkGraph() local
500 Sym.setCallable(Def.getFlags().isCallable()); in absoluteSymbolsLinkGraph()