Lines Matching refs:Layout

84                                               const MCAsmLayout &Layout) const {  in getFragmentAddress()
86 Layout.getFragmentOffset(Fragment); in getFragmentAddress()
90 const MCAsmLayout &Layout) const { in getSymbolAddress()
98 if (!S.getVariableValue()->evaluateAsRelocatable(Target, &Layout, nullptr)) in getSymbolAddress()
112 Address += getSymbolAddress(Target.getSymA()->getSymbol(), Layout); in getSymbolAddress()
114 Address += getSymbolAddress(Target.getSymB()->getSymbol(), Layout); in getSymbolAddress()
119 Layout.getSymbolOffset(S); in getSymbolAddress()
123 const MCAsmLayout &Layout) const { in getPaddingSize()
124 uint64_t EndAddr = getSectionAddress(Sec) + Layout.getSectionAddressSize(Sec); in getPaddingSize()
126 if (Next >= Layout.getSectionOrder().size()) in getPaddingSize()
129 const MCSection &NextSec = *Layout.getSectionOrder()[Next]; in getPaddingSize()
216 void MachObjectWriter::writeSection(const MCAsmLayout &Layout, in writeSection() argument
221 uint64_t SectionSize = Layout.getSectionAddressSize(&Sec); in writeSection()
226 assert(Layout.getSectionFileSize(&Sec) == 0 && "Invalid file size!"); in writeSection()
341 const MCAsmLayout &Layout) { in writeNlist() argument
385 Address = getSymbolAddress(OrigSymbol, Layout); in writeNlist()
465 const MCAsmLayout &Layout, in recordRelocation() argument
475 TargetObjectWriter->recordRelocation(this, Asm, Layout, Fragment, Fixup, in recordRelocation()
645 const MCAsmLayout &Layout) { in computeSectionAddresses() argument
647 for (const MCSection *Sec : Layout.getSectionOrder()) { in computeSectionAddresses()
650 StartAddress += Layout.getSectionAddressSize(Sec); in computeSectionAddresses()
655 StartAddress += getPaddingSize(Sec, Layout); in computeSectionAddresses()
660 const MCAsmLayout &Layout) { in executePostLayoutBinding() argument
661 computeSectionAddresses(Asm, Layout); in executePostLayoutBinding()
769 const MCAsmLayout &Layout) { in writeObject() argument
797 Layout.getAssembler().getVersionInfo(); in writeObject()
816 Layout.getAssembler().getDarwinTargetVariantVersionInfo(); in writeObject()
834 uint64_t LOHRawSize = Asm.getLOHContainer().getEmitSize(*this, Layout); in writeObject()
865 uint64_t Size = Layout.getSectionAddressSize(&Sec); in writeObject()
866 uint64_t FileSize = Layout.getSectionFileSize(&Sec); in writeObject()
867 FileSize += getPaddingSize(&Sec, Layout); in writeObject()
903 writeSection(Layout, Sec, getSectionAddress(&Sec), SectionStart, Flags, in writeObject()
1003 Asm.writeSectionData(W.OS, &Sec, Layout); in writeObject()
1005 uint64_t Pad = getPaddingSize(&Sec, Layout); in writeObject()
1028 uint64_t Start = getSymbolAddress(*Data->Start, Layout); in writeObject()
1031 End = getSymbolAddress(*Data->End, Layout); in writeObject()
1050 Asm.getLOHContainer().emit(*this, Layout); in writeObject()
1087 writeNlist(Entry, Layout); in writeObject()