Searched refs:NameSection (Results 1 – 10 of 10) sorted by relevance
297 class NameSection : public SyntheticSection {299 NameSection() : SyntheticSection(llvm::wasm::WASM_SEC_CUSTOM, "name") {} in NameSection() function367 NameSection *nameSec;
544 unsigned NameSection::numNamedFunctions() const { in numNamedFunctions()554 unsigned NameSection::numNamedGlobals() const { in numNamedGlobals()566 void NameSection::writeBody() { in writeBody()
1213 out.nameSec = make<NameSection>(); in createSyntheticSections()
55 void writeSectionContent(raw_ostream &OS, WasmYAML::NameSection &Section);256 WasmYAML::NameSection &Section) { in writeSectionContent()309 } else if (auto S = dyn_cast<WasmYAML::NameSection>(&Section)) { in writeSectionContent()
60 static void sectionMapping(IO &IO, WasmYAML::NameSection &Section) { in sectionMapping()188 Section.reset(new WasmYAML::NameSection()); in mapping()189 sectionMapping(IO, *cast<WasmYAML::NameSection>(Section.get())); in mapping()
55 void writeSectionContent(raw_ostream &OS, WasmYAML::NameSection &Section);258 WasmYAML::NameSection &Section) { in writeSectionContent()324 } else if (auto S = dyn_cast<WasmYAML::NameSection>(&Section)) { in writeSectionContent()
60 static void sectionMapping(IO &IO, WasmYAML::NameSection &Section) { in sectionMapping()189 Section.reset(new WasmYAML::NameSection()); in mapping()190 sectionMapping(IO, *cast<WasmYAML::NameSection>(Section.get())); in mapping()
215 struct NameSection : CustomSection { struct216 NameSection() : CustomSection("name") {} in NameSection() argument
65 std::unique_ptr<WasmYAML::NameSection> NameSec = in dumpCustomSection()66 std::make_unique<WasmYAML::NameSection>(); in dumpCustomSection()
212 struct NameSection : CustomSection { struct213 NameSection() : CustomSection("name") {} in NameSection() function