diff options
Diffstat (limited to 'src/tools/wasm-split/wasm-split.cpp')
-rw-r--r-- | src/tools/wasm-split/wasm-split.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/tools/wasm-split/wasm-split.cpp b/src/tools/wasm-split/wasm-split.cpp index abb1646c1..eed26f1e1 100644 --- a/src/tools/wasm-split/wasm-split.cpp +++ b/src/tools/wasm-split/wasm-split.cpp @@ -192,9 +192,8 @@ void getFunctionsToKeepAndSplit(Module& wasm, void writeSymbolMap(Module& wasm, std::string filename) { PassOptions options; - options.arguments["symbolmap"] = filename; PassRunner runner(&wasm, options); - runner.add("symbolmap"); + runner.add("symbolmap", filename); runner.run(); } |