Searched refs:FunctionSection (Results 1 – 8 of 8) sorted by relevance
204 class FunctionSection : public SyntheticSection {206 FunctionSection() : SyntheticSection(llvm::wasm::WASM_SEC_FUNCTION) {}435 FunctionSection *functionSec;
291 void FunctionSection::writeBody() { in writeBody()299 void FunctionSection::addFunction(InputFunction *func) { in addFunction()
1498 out.functionSec = make<FunctionSection>(); in createSyntheticSections()
110 static void sectionMapping(IO &IO, WasmYAML::FunctionSection &Section) { in sectionMapping()221 Section.reset(new WasmYAML::FunctionSection()); in mapping()222 sectionMapping(IO, *cast<WasmYAML::FunctionSection>(Section.get())); in mapping()
41 void writeSectionContent(raw_ostream &OS, WasmYAML::FunctionSection &Section);422 WasmYAML::FunctionSection &Section) { in writeSectionContent()619 else if (auto S = dyn_cast<WasmYAML::FunctionSection>(Sec.get())) in writeWasm()
306 struct FunctionSection : Section { struct307 FunctionSection() : Section(wasm::WASM_SEC_FUNCTION) {} in FunctionSection() argument
263 auto FuncSec = std::make_unique<WasmYAML::FunctionSection>(); in dump()
3596 ErrorOr<BinarySection &> FunctionSection = in mapCodeSections() local3598 assert(FunctionSection && "function should have section"); in mapCodeSections()3599 FunctionSection->setOutputAddress(OutputAddress); in mapCodeSections()3600 RTDyld.reassignSectionAddress(FunctionSection->getSectionID(), in mapCodeSections()3602 InjectedFunction->setImageAddress(FunctionSection->getAllocAddress()); in mapCodeSections()3603 InjectedFunction->setImageSize(FunctionSection->getOutputSize()); in mapCodeSections()