Home
last modified time | relevance | path

Searched refs:ImportSection (Results 1 – 7 of 7) sorted by relevance

/llvm-project-15.0.7/lld/wasm/
H A DSyntheticSections.h163 class ImportSection : public SyntheticSection {
165 ImportSection() : SyntheticSection(llvm::wasm::WASM_SEC_IMPORT) {}
436 ImportSection *importSec;
H A DSyntheticSections.cpp162 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()
H A DWriter.cpp1497 out.importSec = make<ImportSection>(); in createSyntheticSections()
/llvm-project-15.0.7/llvm/lib/ObjectYAML/
H A DWasmYAML.cpp105 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()
H A DWasmEmitter.cpp40 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()
/llvm-project-15.0.7/llvm/include/llvm/ObjectYAML/
H A DWasmYAML.h296 struct ImportSection : Section { struct
297 ImportSection() : Section(wasm::WASM_SEC_IMPORT) {} in ImportSection() function
/llvm-project-15.0.7/llvm/tools/obj2yaml/
H A Dwasm2yaml.cpp231 auto ImportSec = std::make_unique<WasmYAML::ImportSection>(); in dump()