reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
306 canUseLocalRelocation(Section, *Symbol, Log2Size); 307 if (Symbol->isTemporary() && (Value || !CanUseLocalRelocation)) { 310 if (!Symbol->isInSection()) { 313 "unsupported relocation of local symbol '" + Symbol->getName() + 317 const MCSection &Sec = Symbol->getSection(); 319 Symbol->setUsedInReloc(); 322 const MCSymbol *Base = Asm.getAtom(*Symbol); 325 assert(!Symbol->isVariable() || Base); 331 if (Symbol->isInSection()) { 343 if (Base != Symbol) 345 Layout.getSymbolOffset(*Symbol) - Layout.getSymbolOffset(*Base); 346 } else if (Symbol->isInSection()) { 350 "unsupported relocation of local symbol '" + Symbol->getName() + 356 const MCSection &Sec = Symbol->getSection(); 358 Value += Writer->getSymbolAddress(*Symbol, Layout);