Home
last modified time | relevance | path

Searched refs:memoryExport (Results 1 – 3 of 3) sorted by relevance

/openbsd/gnu/llvm/lld/wasm/
H A DConfig.h47 std::optional<llvm::StringRef> memoryExport; member
H A DDriver.cpp421 config->memoryExport = in readConfigs()
424 config->memoryExport = memoryName; in readConfigs()
426 config->memoryExport = std::optional<llvm::StringRef>(); in readConfigs()
546 if (config->memoryExport.has_value()) { in setConfigs()
558 if (!config->memoryExport.has_value() && !config->memoryImport.has_value()) { in setConfigs()
559 config->memoryExport = memoryName; in setConfigs()
H A DWriter.cpp675 if (!config->relocatable && config->memoryExport.has_value()) { in calculateExports()
677 WasmExport{*config->memoryExport, WASM_EXTERNAL_MEMORY, 0}); in calculateExports()