Home
last modified time | relevance | path

Searched refs:FuncSection (Results 1 – 3 of 3) sorted by relevance

/llvm-project-15.0.7/bolt/lib/Rewrite/
H A DMachORewriteInstance.cpp409 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 …]
H A DRewriteInstance.cpp3693 ErrorOr<BinarySection &> FuncSection = Function.getCodeSection(); in mapCodeSections() local
3694 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()
/llvm-project-15.0.7/llvm/lib/MC/
H A DWasmObjectWriter.cpp1061 auto &FuncSection = static_cast<MCSectionWasm &>(Func.Sym->getSection()); in writeCodeSection() local
1068 FuncSection.setSectionOffset(W->OS.tell() - Section.ContentsOffset); in writeCodeSection()
1069 Asm.writeSectionData(W->OS, &FuncSection, Layout); in writeCodeSection()