You can if you save a map of the function names and their indexes. See the
--emit-symbol-map option.

On Thu, Apr 9, 2020 at 8:20 AM Brian Gavin <[email protected]> wrote:

> Hello, I am sometimes getting a memory out of bounds exception thrown.
>
> It reports like shown below in Chrome
> exception thrown:  RuntimeError: memory access out of bounds
> at wasm-function[3928]:0x16cc09
> at wasm-function[3936]:0x16ecc
> at wasm-function[3936]:0x16cecc
> ...
>
>
> If the crashed happen in a version compiled with profiling we would get
> function names.   Is it possible for me to some how figure out the function
> names for things like wasm-function[3928] ?
>
> Thanks
> Brian Gavin
>
> --
> 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 [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/emscripten-discuss/040c99b1-9621-4142-8bed-0a4883007793%40googlegroups.com
> <https://groups.google.com/d/msgid/emscripten-discuss/040c99b1-9621-4142-8bed-0a4883007793%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/emscripten-discuss/CAEX4NpSkejhLhzfvF2-TaWVeAnZHnQiwvynEep8majsrqsRYNA%40mail.gmail.com.

Reply via email to