summaryrefslogtreecommitdiff
path: root/src/tools/wasm-split/split-options.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/wasm-split/split-options.cpp')
-rw-r--r--src/tools/wasm-split/split-options.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/tools/wasm-split/split-options.cpp b/src/tools/wasm-split/split-options.cpp
index bd6d6f09a..b5929aad7 100644
--- a/src/tools/wasm-split/split-options.cpp
+++ b/src/tools/wasm-split/split-options.cpp
@@ -191,6 +191,15 @@ WasmSplitOptions::WasmSplitOptions()
placeholderNamespace = argument;
})
.add(
+ "--asyncify",
+ "",
+ "Transform the module to support unwinding the stack from placeholder "
+ "functions and rewinding it once the secondary module has been loaded.",
+ WasmSplitOption,
+ {Mode::Split},
+ Options::Arguments::Zero,
+ [&](Options* o, const std::string& argument) { asyncify = true; })
+ .add(
"--export-prefix",
"",
"An identifying prefix to prepend to new export names created "