Hi All, I've created a .a file for my library using emscripten 1.38.28 and linked it with my module. On linking ,size of my wasm got increased more than I expected. While trying to do profiling using bloaty, I realised Data segment space got increased a lot in my new wasm as compared to the previous one. Following is the output of bloaty when I run ./bloaty -d fullsymbols oldWasm -- newWasm
+144% +682Ki [ = ] 0 Data +4.5% +108Ki [ = ] 0 Code +0.3% +12.7Ki [ = ] 0 name +0.5% +106 [ = ] 0 Function +5.0% +99 [ = ] 0 Import +0.0% +6 [ = ] 0 Element +1.6% +1 [ = ] 0 Global +12% +804Ki [ = ] 0 TOTAL But I am not able to see any detailed info about what's increasing the size of Data segment. Is there anyway I can see the expanded info about Data section mentioned above. Or what could be the reason of this increase. I used -O3 while compiling my .a file. Regards, Rohit Saini -- 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/893ead20-e8e7-4b9e-8cc9-47c0b7363738n%40googlegroups.com.
