They are generated for exception handling support. You can pass '-s
DISABLE_EXCEPTION_CATCHING=1' to emcc, but I think this is already the
default, so I'm not sure why you are getting that.

On Wed, Oct 10, 2018 at 11:20 AM stephen.weber via emscripten-discuss <
emscripten-discuss@googlegroups.com> wrote:

> Hello!
>
> I am trying to compile some C code with emscripten to use with a
> non-browser WASM VM, so I can't use the generate JS shims and have to fill
> in anything actually needed on my own.  The bulk of what I need after an
> `-O3` is not a big deal (Math.pow and such) but all of the invoke_*
> wrappers have me stumped.  What are these wrappers for?  Will calling a
> WASM C function from another WASM C function, even via pointer, ever
> generate a JavaScript exception (in the browser context)?  If not, is there
> any way to tell emcc "hey, this is all C code here" or something and have
> the `invoke_*` wrappers not be used?
>
> --
> You received this message because you are subscribed to the Google Groups
> "emscripten-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to emscripten-discuss+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to emscripten-discuss+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to