Home
last modified time | relevance | path

Searched refs:FunctionSection (Results 1 – 8 of 8) sorted by relevance

/llvm-project-15.0.7/lld/wasm/
H A DSyntheticSections.h204 class FunctionSection : public SyntheticSection {
206 FunctionSection() : SyntheticSection(llvm::wasm::WASM_SEC_FUNCTION) {}
435 FunctionSection *functionSec;
H A DSyntheticSections.cpp291 void FunctionSection::writeBody() { in writeBody()
299 void FunctionSection::addFunction(InputFunction *func) { in addFunction()
H A DWriter.cpp1498 out.functionSec = make<FunctionSection>(); in createSyntheticSections()
/llvm-project-15.0.7/llvm/lib/ObjectYAML/
H A DWasmYAML.cpp110 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()
H A DWasmEmitter.cpp41 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()
/llvm-project-15.0.7/llvm/include/llvm/ObjectYAML/
H A DWasmYAML.h306 struct FunctionSection : Section { struct
307 FunctionSection() : Section(wasm::WASM_SEC_FUNCTION) {} in FunctionSection() argument
/llvm-project-15.0.7/llvm/tools/obj2yaml/
H A Dwasm2yaml.cpp263 auto FuncSec = std::make_unique<WasmYAML::FunctionSection>(); in dump()
/llvm-project-15.0.7/bolt/lib/Rewrite/
H A DRewriteInstance.cpp3596 ErrorOr<BinarySection &> FunctionSection = in mapCodeSections() local
3598 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()