-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
unreachable executed #10
Comments
Are you able to share the .wasm file so I can reproduce the error? It shouldn’t matter that there is no |
Sorry I'll try to make a minimal repro case then if it's not supposed to happen. |
Hi @surma ! I'm the Web team lead developer of the @godotengine and I happen to have this same issue, when trying to debug our WASM export of the engine with debug symbols. Stripped, the template_debug build is 27.9MB, but with debug symbols, it's about 343.6MB. It loads perfectly without debug_symbols, but it's not really interesting. It has though the
[iCloud] Here's the built files in a zip (that includes the .wasm) Many thanks! |
I whip up a (partial) fix for this in #11. Could you both (@Kuranes @adamscott) give it a try and confirm that it works and that the flame graph looks reasonable etc? The error |
It seems to work alright! The signatures seems OK! I'll get back to you if there's anything wrong, but so far, so good. Thank you so much for the fast response, greatly appreciated. |
Great! I’ll go ahead an merge and switch it live. I’ll open a separate issue for the weird function error. If anyone can manage to produce a smaller wasm that triggers that error, I’d be grateful! |
on Wasm files From C++ using emscripten:
emcc ${LINK_PARAMETERS} -s EXPORTED_FUNCTIONS="['_myOwnMain','_otherCallUpdate', ...]
I get only "unreachable executed" on wasm files
Those are wasm library interfaced by js code calling wasm entry point "manually" (no main)
Would there be a way to put "wasm library" by specifying library "entry points" ?
The text was updated successfully, but these errors were encountered: