Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/lld/wasm/
H A DWriterUtils.cpp237 void writeExport(raw_ostream &os, const WasmExport &export_) { in writeExport() argument
238 writeStr(os, export_.Name, "export name"); in writeExport()
239 writeU8(os, export_.Kind, "export kind"); in writeExport()
240 switch (export_.Kind) { in writeExport()
242 writeUleb128(os, export_.Index, "function index"); in writeExport()
245 writeUleb128(os, export_.Index, "global index"); in writeExport()
248 writeUleb128(os, export_.Index, "tag index"); in writeExport()
251 writeUleb128(os, export_.Index, "memory index"); in writeExport()
254 writeUleb128(os, export_.Index, "table index"); in writeExport()
257 fatal("unsupported export type: " + Twine(export_.Kind)); in writeExport()
H A DWriterUtils.h65 void writeExport(raw_ostream &os, const llvm::wasm::WasmExport &export_);
H A DWriter.cpp690 WasmExport export_; in calculateExports() local
695 export_ = {name, WASM_EXTERNAL_FUNCTION, f->getExportedFunctionIndex()}; in calculateExports()
706 export_ = {name, WASM_EXTERNAL_GLOBAL, g->getGlobalIndex()}; in calculateExports()
708 export_ = {name, WASM_EXTERNAL_TAG, t->getTagIndex()}; in calculateExports()
711 export_ = {name, WASM_EXTERNAL_GLOBAL, globalIndex++}; in calculateExports()
714 export_ = {name, WASM_EXTERNAL_TABLE, t->getTableNumber()}; in calculateExports()
718 out.exportSec->exports.push_back(export_); in calculateExports()
H A DSyntheticSections.cpp532 for (const WasmExport &export_ : exports) in writeBody() local
533 writeExport(os, export_); in writeBody()
/openbsd-src/gnu/llvm/lld/MachO/
H A DOutputSegment.cpp134 .Case(section_names::export_, -6) in sectionOrder()
H A DInputSection.h318 constexpr const char export_[] = "__export"; variable
H A DSyntheticSections.cpp971 : LinkEditSection(segment_names::linkEdit, section_names::export_) {} in ExportSection()