summaryrefslogtreecommitdiff
path: root/src/ir/module-splitting.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ir/module-splitting.h')
-rw-r--r--src/ir/module-splitting.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ir/module-splitting.h b/src/ir/module-splitting.h
index 9a2597067..479fba148 100644
--- a/src/ir/module-splitting.h
+++ b/src/ir/module-splitting.h
@@ -62,6 +62,10 @@ struct Config {
// used to differentiate between "real" exports of the module and exports that
// should only be consumed by the secondary module.
std::string newExportPrefix = "";
+ // Whether the export names of newly created exports should be minimized. If
+ // false, the original function names will be used (after `newExportPrefix`)
+ // as the new export names.
+ bool minimizeNewExportNames = false;
};
// Returns the new secondary module and modifies the `primary` module in place.