Lines Matching refs:FuncSection
408 ErrorOr<BinarySection &> FuncSection = Function->getCodeSection(); in mapCodeSections() local
409 if (!FuncSection) in mapCodeSections()
413 FuncSection.getError()); in mapCodeSections()
415 FuncSection->setOutputAddress(Function->getOutputAddress()); in mapCodeSections()
417 << Twine::utohexstr(FuncSection->getAllocAddress()) << " to 0x" in mapCodeSections()
419 RTDyld->reassignSectionAddress(FuncSection->getSectionID(), in mapCodeSections()
421 Function->setImageAddress(FuncSection->getAllocAddress()); in mapCodeSections()
422 Function->setImageSize(FuncSection->getOutputSize()); in mapCodeSections()
437 ErrorOr<BinarySection &> FuncSection = Function->getCodeSection(); in mapCodeSections() local
438 assert(FuncSection && "cannot find section for function"); in mapCodeSections()
440 FuncSection->setOutputAddress(Addr); in mapCodeSections()
441 RTDyld->reassignSectionAddress(FuncSection->getSectionID(), Addr); in mapCodeSections()
444 Function->setImageAddress(FuncSection->getAllocAddress()); in mapCodeSections()
445 Function->setImageSize(FuncSection->getOutputSize()); in mapCodeSections()
447 Addr += FuncSection->getOutputSize(); in mapCodeSections()