Searched refs:FuncSection (Results 1 – 3 of 3) sorted by relevance
409 if (!FuncSection) in mapCodeSections()413 FuncSection.getError()); in mapCodeSections()415 FuncSection->setOutputAddress(Function->getOutputAddress()); in mapCodeSections()419 RTDyld->reassignSectionAddress(FuncSection->getSectionID(), in mapCodeSections()421 Function->setImageAddress(FuncSection->getAllocAddress()); in mapCodeSections()422 Function->setImageSize(FuncSection->getOutputSize()); in mapCodeSections()438 assert(FuncSection && "cannot find section for function"); in mapCodeSections()440 FuncSection->setOutputAddress(Addr); in mapCodeSections()444 Function->setImageAddress(FuncSection->getAllocAddress()); in mapCodeSections()445 Function->setImageSize(FuncSection->getOutputSize()); in mapCodeSections()[all …]
3693 ErrorOr<BinarySection &> FuncSection = Function.getCodeSection(); in mapCodeSections() local3694 assert(FuncSection && "cannot find section for function"); in mapCodeSections()3695 FuncSection->setOutputAddress(Function.getAddress()); in mapCodeSections()3697 << Twine::utohexstr(FuncSection->getAllocAddress()) in mapCodeSections()3700 RTDyld.reassignSectionAddress(FuncSection->getSectionID(), in mapCodeSections()3702 Function.setImageAddress(FuncSection->getAllocAddress()); in mapCodeSections()3703 Function.setImageSize(FuncSection->getOutputSize()); in mapCodeSections()
1061 auto &FuncSection = static_cast<MCSectionWasm &>(Func.Sym->getSection()); in writeCodeSection() local1068 FuncSection.setSectionOffset(W->OS.tell() - Section.ContentsOffset); in writeCodeSection()1069 Asm.writeSectionData(W->OS, &FuncSection, Layout); in writeCodeSection()