"Output contains some very large functions"

8 views
Skip to first unread message

Steven Johnson

unread,
Jul 9, 2020, 3:51:17 PM7/9/20
to emscripte...@googlegroups.com
I consistently get this warning for some of my code when I compile
with Emscripten -- from looking at the source, it appears that it
can't be disabled, and that it is hardcoded to assume that "very
large" means "more than 3000 lines".

In this case, the "very large" code it refers to is machine-generated
code from the Halide compiler, which does indeed sometimes emit
"large" code blocks.

Can someone expand on what the nature of this warning really implies,
and whether there is a way I can silence it?

Steven Johnson

unread,
Jul 9, 2020, 4:02:14 PM7/9/20
to emscripte...@googlegroups.com
Bah -- nevermind, apparently I had misconfigured my EMCC flags to use
`-s WASM=2`. Sorry for the noise.
Reply all
Reply to author
Forward
0 new messages