Lines Matching refs:Sym

101 raw_ostream &operator<<(raw_ostream &OS, const Symbol &Sym) {  in operator <<()  argument
102 OS << Sym.getAddress() << " (" << (Sym.isDefined() ? "block" : "addressable") in operator <<()
103 << " + " << formatv("{0:x8}", Sym.getOffset()) in operator <<()
104 << "): size: " << formatv("{0:x8}", Sym.getSize()) in operator <<()
105 << ", linkage: " << formatv("{0:6}", getLinkageName(Sym.getLinkage())) in operator <<()
106 << ", scope: " << formatv("{0:8}", getScopeName(Sym.getScope())) << ", " in operator <<()
107 << (Sym.isLive() ? "live" : "dead") << " - " in operator <<()
108 << (Sym.hasName() ? Sym.getName() : "<anonymous symbol>"); in operator <<()
144 for (auto *Sym : Symbols) in ~Section() local
145 Sym->~Symbol(); in ~Section()
200 for (auto *Sym : B.getSection().symbols()) in splitBlock() local
201 if (&Sym->getBlock() == &B) in splitBlock()
202 (*Cache)->push_back(Sym); in splitBlock()
213 auto *Sym = BlockSymbols.back(); in splitBlock() local
216 if (Sym->getOffset() + Sym->getSize() > SplitIndex) in splitBlock()
217 Sym->setSize(SplitIndex - Sym->getOffset()); in splitBlock()
218 Sym->setBlock(NewBlock); in splitBlock()
223 for (auto *Sym : BlockSymbols) in splitBlock() local
224 Sym->setOffset(Sym->getOffset() - SplitIndex); in splitBlock()
234 for (auto *Sym : defined_symbols()) in dump() local
235 BlockSymbols[&Sym->getBlock()].push_back(Sym); in dump()
277 for (auto *Sym : Syms) in dump() local
278 OS << " " << *Sym << "\n"; in dump()
313 for (auto *Sym : absolute_symbols()) in dump() local
314 OS << " " << Sym->getAddress() << ": " << *Sym << "\n"; in dump()
320 for (auto *Sym : external_symbols()) in dump() local
321 OS << " " << Sym->getAddress() << ": " << *Sym << "\n"; in dump()
354 for (auto *Sym : G.defined_symbols()) in markAllSymbolsLive() local
355 Sym->setLive(true); in markAllSymbolsLive()
377 for (auto *Sym : Sec.symbols()) in makeTargetOutOfRangeError() local
378 if (&Sym->getBlock() == &B && Sym->hasName() && Sym->getOffset() == 0 && in makeTargetOutOfRangeError()
380 Sym->getScope() < BestSymbolForBlock->getScope() || in makeTargetOutOfRangeError()
381 Sym->getLinkage() < BestSymbolForBlock->getLinkage())) in makeTargetOutOfRangeError()
382 BestSymbolForBlock = Sym; in makeTargetOutOfRangeError()