• Home
  • Raw
  • Download

Lines Matching refs:Layout

68                                               const MCAsmLayout &Layout) const {  in getFragmentAddress()
70 Layout.getFragmentOffset(Fragment); in getFragmentAddress()
74 const MCAsmLayout &Layout) const { in getSymbolAddress()
82 if (!S.getVariableValue()->evaluateAsRelocatable(Target, &Layout, nullptr)) in getSymbolAddress()
96 Address += getSymbolAddress(Target.getSymA()->getSymbol(), Layout); in getSymbolAddress()
98 Address += getSymbolAddress(Target.getSymB()->getSymbol(), Layout); in getSymbolAddress()
103 Layout.getSymbolOffset(S); in getSymbolAddress()
107 const MCAsmLayout &Layout) const { in getPaddingSize()
108 uint64_t EndAddr = getSectionAddress(Sec) + Layout.getSectionAddressSize(Sec); in getPaddingSize()
110 if (Next >= Layout.getSectionOrder().size()) in getPaddingSize()
113 const MCSection &NextSec = *Layout.getSectionOrder()[Next]; in getPaddingSize()
196 void MachObjectWriter::writeSection(const MCAsmLayout &Layout, in writeSection() argument
201 uint64_t SectionSize = Layout.getSectionAddressSize(&Sec); in writeSection()
206 assert(Layout.getSectionFileSize(&Sec) == 0 && "Invalid file size!"); in writeSection()
321 const MCAsmLayout &Layout) { in writeNlist() argument
365 Address = getSymbolAddress(OrigSymbol, Layout); in writeNlist()
434 const MCAsmLayout &Layout, in recordRelocation() argument
438 TargetObjectWriter->recordRelocation(this, Asm, Layout, Fragment, Fixup, in recordRelocation()
606 const MCAsmLayout &Layout) { in computeSectionAddresses() argument
608 for (const MCSection *Sec : Layout.getSectionOrder()) { in computeSectionAddresses()
611 StartAddress += Layout.getSectionAddressSize(Sec); in computeSectionAddresses()
616 StartAddress += getPaddingSize(Sec, Layout); in computeSectionAddresses()
621 const MCAsmLayout &Layout) { in executePostLayoutBinding() argument
622 computeSectionAddresses(Asm, Layout); in executePostLayoutBinding()
708 const MCAsmLayout &Layout) { in writeObject() argument
715 Layout.getAssembler().getVersionMinInfo(); in writeObject()
738 uint64_t LOHRawSize = Asm.getLOHContainer().getEmitSize(*this, Layout); in writeObject()
769 uint64_t Size = Layout.getSectionAddressSize(&Sec); in writeObject()
770 uint64_t FileSize = Layout.getSectionFileSize(&Sec); in writeObject()
771 FileSize += getPaddingSize(&Sec, Layout); in writeObject()
806 writeSection(Layout, Sec, getSectionAddress(&Sec), SectionStart, Flags, in writeObject()
895 Asm.writeSectionData(&Sec, Layout); in writeObject()
897 uint64_t Pad = getPaddingSize(&Sec, Layout); in writeObject()
920 uint64_t Start = getSymbolAddress(*Data->Start, Layout); in writeObject()
921 uint64_t End = getSymbolAddress(*Data->End, Layout); in writeObject()
937 Asm.getLOHContainer().emit(*this, Layout); in writeObject()
973 writeNlist(Entry, Layout); in writeObject()