diff options
Diffstat (limited to 'src/wasm-io.h')
-rw-r--r-- | src/wasm-io.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/wasm-io.h b/src/wasm-io.h index 803cbaf90..afdc4503c 100644 --- a/src/wasm-io.h +++ b/src/wasm-io.h @@ -48,11 +48,15 @@ class ModuleWriter : public ModuleIO { bool binary = true; bool debugInfo = false; std::string symbolMap; + std::string sourceMapFilename; + std::string sourceMapUrl; public: void setBinary(bool binary_) { binary = binary_; } void setDebugInfo(bool debugInfo_) { debugInfo = debugInfo_; } void setSymbolMap(std::string symbolMap_) { symbolMap = symbolMap_; } + void setSourceMapFilename(std::string sourceMapFilename_) { sourceMapFilename = sourceMapFilename_; } + void setSourceMapUrl(std::string sourceMapUrl_) { sourceMapUrl = sourceMapUrl_; } // write text void writeText(Module& wasm, std::string filename); |