summaryrefslogtreecommitdiff
path: root/src/tools/wasm-split/split-options.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/wasm-split/split-options.h')
-rw-r--r--src/tools/wasm-split/split-options.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tools/wasm-split/split-options.h b/src/tools/wasm-split/split-options.h
index 9f6253626..5aba0ba39 100644
--- a/src/tools/wasm-split/split-options.h
+++ b/src/tools/wasm-split/split-options.h
@@ -37,6 +37,7 @@ struct WasmSplitOptions : ToolOptions {
enum class StorageKind : unsigned {
InGlobals, // Store profile data in WebAssembly Globals
InMemory, // Store profile data in memory, accessible from all threads
+ InSecondaryMemory, // Store profile data in memory separate from main memory
};
StorageKind storageKind = StorageKind::InGlobals;
@@ -63,6 +64,7 @@ struct WasmSplitOptions : ToolOptions {
std::string importNamespace;
std::string placeholderNamespace;
+ std::string secondaryMemoryName;
std::string exportPrefix;
// A hack to ensure the split and instrumented modules have the same table