binaryen icon indicating copy to clipboard operation
binaryen copied to clipboard

[wasm-split] Option to disable split indirection/placeholders

Open biggs0125 opened this issue 5 months ago • 2 comments

I have wasm code that is set up in such a way that I know if a deferred function is called, the module containing it will already have been loaded. Since the code is naturally set up to ensure functions are called in the right order, it would be nice to turn off the indirection/placeholders that wasm-split introduces. Or at least shrink these as much as possible to minimize their impact on code size.

biggs0125 avatar Jul 15 '25 18:07 biggs0125

cc @aheejin

tlively avatar Jul 15 '25 18:07 tlively

Would --no-placeholders meet you needs? Or do you mean something else?

aheejin avatar Jul 27 '25 10:07 aheejin