Lines Matching refs:Writer
27 bool RecordScatteredRelocation(MachObjectWriter *Writer,
34 void RecordPPCRelocation(MachObjectWriter *Writer, const MCAssembler &Asm,
44 void RecordRelocation(MachObjectWriter *Writer, MCAssembler &Asm, in RecordRelocation() argument
48 if (Writer->is64Bit()) { in RecordRelocation()
51 RecordPPCRelocation(Writer, Asm, Layout, Fragment, Fixup, Target, in RecordRelocation()
193 MachObjectWriter *Writer, const MCAssembler &Asm, const MCAsmLayout &Layout, in RecordScatteredRelocation() argument
199 const unsigned IsPCRel = Writer->isFixupKindPCRel(Asm, FK); in RecordScatteredRelocation()
215 uint32_t Value = Writer->getSymbolAddress(A_SD, Layout); in RecordScatteredRelocation()
217 Writer->getSectionAddress(A_SD->getFragment()->getParent()); in RecordScatteredRelocation()
229 Value2 = Writer->getSymbolAddress(B_SD, Layout); in RecordScatteredRelocation()
230 FixedValue -= Writer->getSectionAddress(B_SD->getFragment()->getParent()); in RecordScatteredRelocation()
285 Writer->addRelocation(nullptr, Fragment->getParent(), MRE); in RecordScatteredRelocation()
299 Writer->addRelocation(nullptr, Fragment->getParent(), MRE); in RecordScatteredRelocation()
305 MachObjectWriter *Writer, const MCAssembler &Asm, const MCAsmLayout &Layout, in RecordPPCRelocation() argument
310 const bool IsPCRel = Writer->isFixupKindPCRel(Asm, FK); in RecordPPCRelocation()
320 RecordScatteredRelocation(Writer, Asm, Layout, Fragment, Fixup, Target, in RecordPPCRelocation()
350 Res, Layout, Writer->getSectionAddressMap())) { in RecordPPCRelocation()
357 if (Writer->doesSymbolRequireExternRelocation(SD)) { in RecordPPCRelocation()
369 FixedValue += Writer->getSectionAddress(&SymSD); in RecordPPCRelocation()
372 FixedValue -= Writer->getSectionAddress(Fragment->getParent()); in RecordPPCRelocation()
378 Writer->addRelocation(RelSymbol, Fragment->getParent(), MRE); in RecordPPCRelocation()