Lines Matching refs:Layout

81                                               const MCAsmLayout &Layout) const {  in getFragmentAddress()
83 Layout.getFragmentOffset(Fragment); in getFragmentAddress()
87 const MCAsmLayout &Layout) const { in getSymbolAddress()
95 if (!S.getVariableValue()->evaluateAsRelocatable(Target, &Layout, nullptr)) in getSymbolAddress()
109 Address += getSymbolAddress(Target.getSymA()->getSymbol(), Layout); in getSymbolAddress()
111 Address += getSymbolAddress(Target.getSymB()->getSymbol(), Layout); in getSymbolAddress()
116 Layout.getSymbolOffset(S); in getSymbolAddress()
120 const MCAsmLayout &Layout) const { in getPaddingSize()
121 uint64_t EndAddr = getSectionAddress(Sec) + Layout.getSectionAddressSize(Sec); in getPaddingSize()
123 if (Next >= Layout.getSectionOrder().size()) in getPaddingSize()
126 const MCSection &NextSec = *Layout.getSectionOrder()[Next]; in getPaddingSize()
213 void MachObjectWriter::writeSection(const MCAsmLayout &Layout, in writeSection() argument
218 uint64_t SectionSize = Layout.getSectionAddressSize(&Sec); in writeSection()
223 assert(Layout.getSectionFileSize(&Sec) == 0 && "Invalid file size!"); in writeSection()
338 const MCAsmLayout &Layout) { in writeNlist() argument
382 Address = getSymbolAddress(OrigSymbol, Layout); in writeNlist()
453 const MCAsmLayout &Layout, in recordRelocation() argument
457 TargetObjectWriter->recordRelocation(this, Asm, Layout, Fragment, Fixup, in recordRelocation()
627 const MCAsmLayout &Layout) { in computeSectionAddresses() argument
629 for (const MCSection *Sec : Layout.getSectionOrder()) { in computeSectionAddresses()
632 StartAddress += Layout.getSectionAddressSize(Sec); in computeSectionAddresses()
637 StartAddress += getPaddingSize(Sec, Layout); in computeSectionAddresses()
642 const MCAsmLayout &Layout) { in executePostLayoutBinding() argument
643 computeSectionAddresses(Asm, Layout); in executePostLayoutBinding()
739 const MCAsmLayout &Layout) { in writeObject() argument
748 Layout.getAssembler().getVersionInfo(); in writeObject()
774 uint64_t LOHRawSize = Asm.getLOHContainer().getEmitSize(*this, Layout); in writeObject()
805 uint64_t Size = Layout.getSectionAddressSize(&Sec); in writeObject()
806 uint64_t FileSize = Layout.getSectionFileSize(&Sec); in writeObject()
807 FileSize += getPaddingSize(&Sec, Layout); in writeObject()
842 writeSection(Layout, Sec, getSectionAddress(&Sec), SectionStart, Flags, in writeObject()
937 Asm.writeSectionData(W.OS, &Sec, Layout); in writeObject()
939 uint64_t Pad = getPaddingSize(&Sec, Layout); in writeObject()
962 uint64_t Start = getSymbolAddress(*Data->Start, Layout); in writeObject()
965 End = getSymbolAddress(*Data->End, Layout); in writeObject()
984 Asm.getLOHContainer().emit(*this, Layout); in writeObject()
1020 writeNlist(Entry, Layout); in writeObject()