Lines Matching refs:Writer
43 void recordRelocation(MachObjectWriter *Writer, MCAssembler &Asm,
149 MachObjectWriter *Writer, MCAssembler &Asm, const MCFragment *Fragment, in recordRelocation() argument
151 unsigned IsPCRel = Writer->isFixupKindPCRel(Asm, Fixup.getKind()); in recordRelocation()
217 const MCSymbol *A_Base = Writer->getAtom(*A); in recordRelocation()
220 const MCSymbol *B_Base = Writer->getAtom(*B); in recordRelocation()
235 Writer->addRelocation(A_Base, Fragment->getParent(), MRE); in recordRelocation()
280 Value += (!A->getFragment() ? 0 : Writer->getSymbolAddress(*A, Asm)) - in recordRelocation()
283 : Writer->getSymbolAddress(*A_Base, Asm)); in recordRelocation()
284 Value -= (!B->getFragment() ? 0 : Writer->getSymbolAddress(*B, Asm)) - in recordRelocation()
287 : Writer->getSymbolAddress(*B_Base, Asm)); in recordRelocation()
294 Writer->addRelocation(A_Base, Fragment->getParent(), MRE); in recordRelocation()
320 const MCSymbol *Base = Writer->getAtom(*Symbol); in recordRelocation()
356 Value += Writer->getSymbolAddress(*Symbol, Asm); in recordRelocation()
359 Value -= Writer->getFragmentAddress(Asm, Fragment) + Fixup.getOffset() + in recordRelocation()
384 Writer->addRelocation(RelSymbol, Fragment->getParent(), MRE); in recordRelocation()
405 Writer->addRelocation(RelSymbol, Fragment->getParent(), MRE); in recordRelocation()