Searched refs:ImportSection (Results 1 – 7 of 7) sorted by relevance
163 class ImportSection : public SyntheticSection {165 ImportSection() : SyntheticSection(llvm::wasm::WASM_SEC_IMPORT) {}436 ImportSection *importSec;
162 uint32_t ImportSection::getNumImports() const { in getNumImports()170 void ImportSection::addGOTEntry(Symbol *sym) { in addGOTEntry()185 void ImportSection::addImport(Symbol *sym) { in addImport()230 void ImportSection::writeBody() { in writeBody()
1497 out.importSec = make<ImportSection>(); in createSyntheticSections()
105 static void sectionMapping(IO &IO, WasmYAML::ImportSection &Section) { in sectionMapping()216 Section.reset(new WasmYAML::ImportSection()); in mapping()217 sectionMapping(IO, *cast<WasmYAML::ImportSection>(Section.get())); in mapping()
40 void writeSectionContent(raw_ostream &OS, WasmYAML::ImportSection &Section);385 WasmYAML::ImportSection &Section) { in writeSectionContent()617 else if (auto S = dyn_cast<WasmYAML::ImportSection>(Sec.get())) in writeWasm()
296 struct ImportSection : Section { struct297 ImportSection() : Section(wasm::WASM_SEC_IMPORT) {} in ImportSection() function
231 auto ImportSec = std::make_unique<WasmYAML::ImportSection>(); in dump()