Home
last modified time | relevance | path

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

/external/llvm-project/lld/wasm/
DWriterUtils.cpp236 void writeExport(raw_ostream &os, const WasmExport &export_) { in writeExport() argument
237 writeStr(os, export_.Name, "export name"); in writeExport()
238 writeU8(os, export_.Kind, "export kind"); in writeExport()
239 switch (export_.Kind) { in writeExport()
241 writeUleb128(os, export_.Index, "function index"); in writeExport()
244 writeUleb128(os, export_.Index, "global index"); in writeExport()
247 writeUleb128(os, export_.Index, "event index"); in writeExport()
250 writeUleb128(os, export_.Index, "memory index"); in writeExport()
253 writeUleb128(os, export_.Index, "table index"); in writeExport()
256 fatal("unsupported export type: " + Twine(export_.Kind)); in writeExport()
DWriter.cpp611 WasmExport export_; in calculateExports() local
616 export_ = {name, WASM_EXTERNAL_FUNCTION, f->getFunctionIndex()}; in calculateExports()
627 export_ = {name, WASM_EXTERNAL_GLOBAL, g->getGlobalIndex()}; in calculateExports()
629 export_ = {name, WASM_EXTERNAL_EVENT, e->getEventIndex()}; in calculateExports()
633 export_ = {name, WASM_EXTERNAL_GLOBAL, globalIndex++}; in calculateExports()
637 out.exportSec->exports.push_back(export_); in calculateExports()
DWriterUtils.h64 void writeExport(raw_ostream &os, const llvm::wasm::WasmExport &export_);
DSyntheticSections.cpp370 for (const WasmExport &export_ : exports) in writeBody() local
371 writeExport(os, export_); in writeBody()
/external/llvm-project/lld/MachO/
DSyntheticSections.h39 constexpr const char export_[] = "__export"; variable
DWriter.cpp520 .Case(section_names::export_, -4) in sectionOrder()
DSyntheticSections.cpp559 : LinkEditSection(segment_names::linkEdit, section_names::export_) {} in ExportSection()