Searched refs:export_ (Results 1 – 7 of 7) sorted by relevance
/external/llvm-project/lld/wasm/ |
D | WriterUtils.cpp | 236 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()
|
D | Writer.cpp | 611 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()
|
D | WriterUtils.h | 64 void writeExport(raw_ostream &os, const llvm::wasm::WasmExport &export_);
|
D | SyntheticSections.cpp | 370 for (const WasmExport &export_ : exports) in writeBody() local 371 writeExport(os, export_); in writeBody()
|
/external/llvm-project/lld/MachO/ |
D | SyntheticSections.h | 39 constexpr const char export_[] = "__export"; variable
|
D | Writer.cpp | 520 .Case(section_names::export_, -4) in sectionOrder()
|
D | SyntheticSections.cpp | 559 : LinkEditSection(segment_names::linkEdit, section_names::export_) {} in ExportSection()
|