Lines Matching refs:Layout

82                                               const MCAsmLayout &Layout) const {  in getFragmentAddress()
84 Layout.getFragmentOffset(Fragment); in getFragmentAddress()
88 const MCAsmLayout &Layout) const { in getSymbolAddress()
96 if (!S.getVariableValue()->evaluateAsRelocatable(Target, &Layout, nullptr)) in getSymbolAddress()
110 Address += getSymbolAddress(Target.getSymA()->getSymbol(), Layout); in getSymbolAddress()
112 Address += getSymbolAddress(Target.getSymB()->getSymbol(), Layout); in getSymbolAddress()
117 Layout.getSymbolOffset(S); in getSymbolAddress()
121 const MCAsmLayout &Layout) const { in getPaddingSize()
122 uint64_t EndAddr = getSectionAddress(Sec) + Layout.getSectionAddressSize(Sec); in getPaddingSize()
124 if (Next >= Layout.getSectionOrder().size()) in getPaddingSize()
127 const MCSection &NextSec = *Layout.getSectionOrder()[Next]; in getPaddingSize()
214 void MachObjectWriter::writeSection(const MCAsmLayout &Layout, in writeSection() argument
219 uint64_t SectionSize = Layout.getSectionAddressSize(&Sec); in writeSection()
224 assert(Layout.getSectionFileSize(&Sec) == 0 && "Invalid file size!"); in writeSection()
339 const MCAsmLayout &Layout) { in writeNlist() argument
383 Address = getSymbolAddress(OrigSymbol, Layout); in writeNlist()
463 const MCAsmLayout &Layout, in recordRelocation() argument
473 TargetObjectWriter->recordRelocation(this, Asm, Layout, Fragment, Fixup, in recordRelocation()
643 const MCAsmLayout &Layout) { in computeSectionAddresses() argument
645 for (const MCSection *Sec : Layout.getSectionOrder()) { in computeSectionAddresses()
648 StartAddress += Layout.getSectionAddressSize(Sec); in computeSectionAddresses()
653 StartAddress += getPaddingSize(Sec, Layout); in computeSectionAddresses()
658 const MCAsmLayout &Layout) { in executePostLayoutBinding() argument
659 computeSectionAddresses(Asm, Layout); in executePostLayoutBinding()
755 const MCAsmLayout &Layout) { in writeObject() argument
764 Layout.getAssembler().getVersionInfo(); in writeObject()
790 uint64_t LOHRawSize = Asm.getLOHContainer().getEmitSize(*this, Layout); in writeObject()
821 uint64_t Size = Layout.getSectionAddressSize(&Sec); in writeObject()
822 uint64_t FileSize = Layout.getSectionFileSize(&Sec); in writeObject()
823 FileSize += getPaddingSize(&Sec, Layout); in writeObject()
859 writeSection(Layout, Sec, getSectionAddress(&Sec), SectionStart, Flags, in writeObject()
954 Asm.writeSectionData(W.OS, &Sec, Layout); in writeObject()
956 uint64_t Pad = getPaddingSize(&Sec, Layout); in writeObject()
979 uint64_t Start = getSymbolAddress(*Data->Start, Layout); in writeObject()
982 End = getSymbolAddress(*Data->End, Layout); in writeObject()
1001 Asm.getLOHContainer().emit(*this, Layout); in writeObject()
1038 writeNlist(Entry, Layout); in writeObject()