Correct, but note that --profiling is enough, as -g also emits DWARF debug
info, which can do a lot more (but increases build size and may inhibit
some optimizations).


On Thu, Apr 2, 2020 at 4:17 AM Shachar Langbeheim <[email protected]> wrote:

> are you compiling and linking with -g --profiling? That should keep the
> symbols.
>
> On Thu, 2 Apr 2020 at 13:59, Amit Gupta <[email protected]> wrote:
>
>> I am trying to profile my wasm build on Chrome using JavaScript Profiler.
>> The code itself is working fine. When I record a snapshot of page load and
>> analyse it, all the function names are coming to be <wasm-unnamed>. This is
>> happening 90% of times. 1-2 times, it worked fine. This is
>> causing ambiguous behaviour. I am using 1.38.28 version of emsdk and Chrome
>> version is Version 80.0.3987.162 (Official Build) (64-bit). Can someone
>> suggest what is happening here? Same issue is happening on Chrome Canary
>> and latest Edge browser too.
>>
>> --
>> 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/7c6e57c1-e79f-475c-842c-f0c16599cac6%40googlegroups.com
>> <https://groups.google.com/d/msgid/emscripten-discuss/7c6e57c1-e79f-475c-842c-f0c16599cac6%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/CA%2B_KjGa-sZDf5cS%2BgrxMhPL9%2BV3mtTZxYu_LuW-mEh1y4Q5wGQ%40mail.gmail.com
> <https://groups.google.com/d/msgid/emscripten-discuss/CA%2B_KjGa-sZDf5cS%2BgrxMhPL9%2BV3mtTZxYu_LuW-mEh1y4Q5wGQ%40mail.gmail.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/CAEX4NpQkZ8J4SU1T5zKEO65gL_aZ0QtjXVLETFA883NT7OcHrw%40mail.gmail.com.

Reply via email to