Lines Matching refs:Writer

27   bool recordScatteredRelocation(MachObjectWriter *Writer,
34 void RecordPPCRelocation(MachObjectWriter *Writer, const MCAssembler &Asm,
43 void recordRelocation(MachObjectWriter *Writer, MCAssembler &Asm, in recordRelocation() argument
47 if (Writer->is64Bit()) { in recordRelocation()
50 RecordPPCRelocation(Writer, Asm, Layout, Fragment, Fixup, Target, in recordRelocation()
192 MachObjectWriter *Writer, const MCAssembler &Asm, const MCAsmLayout &Layout, in recordScatteredRelocation() argument
198 const unsigned IsPCRel = Writer->isFixupKindPCRel(Asm, FK); in recordScatteredRelocation()
213 uint32_t Value = Writer->getSymbolAddress(*A, Layout); in recordScatteredRelocation()
214 uint64_t SecAddr = Writer->getSectionAddress(A->getFragment()->getParent()); in recordScatteredRelocation()
226 Value2 = Writer->getSymbolAddress(*SB, Layout); in recordScatteredRelocation()
227 FixedValue -= Writer->getSectionAddress(SB->getFragment()->getParent()); in recordScatteredRelocation()
282 Writer->addRelocation(nullptr, Fragment->getParent(), MRE); in recordScatteredRelocation()
296 Writer->addRelocation(nullptr, Fragment->getParent(), MRE); in recordScatteredRelocation()
302 MachObjectWriter *Writer, const MCAssembler &Asm, const MCAsmLayout &Layout, in RecordPPCRelocation() argument
307 const bool IsPCRel = Writer->isFixupKindPCRel(Asm, FK); in RecordPPCRelocation()
317 recordScatteredRelocation(Writer, Asm, Layout, Fragment, Fixup, Target, in RecordPPCRelocation()
347 Res, Layout, Writer->getSectionAddressMap())) { in RecordPPCRelocation()
354 if (Writer->doesSymbolRequireExternRelocation(*A)) { in RecordPPCRelocation()
365 FixedValue += Writer->getSectionAddress(&Sec); in RecordPPCRelocation()
368 FixedValue -= Writer->getSectionAddress(Fragment->getParent()); in RecordPPCRelocation()
374 Writer->addRelocation(RelSymbol, Fragment->getParent(), MRE); in RecordPPCRelocation()