8 Commits

Author SHA1 Message Date
Sam Clegg
e0314900bc
[wasm-emscripten-finalize] Remove --separate-data-segments (#6091)
See #6088
2023-11-27 11:42:23 -08:00
Sam Clegg
680e4ecb58
Remove metadata generation from wasm-emscripten-finalize (#4863)
This is no longer needed by emscripten as of:
https://github.com/emscripten-core/emscripten/pull/16529
2022-08-07 07:08:28 -07:00
Sam Clegg
81b6067b7b
Remove old AsmConstWalker code (#3685) 2021-03-12 23:04:04 +00:00
Alon Zakai
f5a8bfd25c
Make wasm-emscripten-finalize's output optional (#3055)
This helps towards the goal of allowing emscripten to not always modify
the wasm during link. Until now wasm-emscripten-finalize always wrote
an output, while with this PR it only does so if it was asked to, either by
giving it an output filename, or asking for text output.

The only noticeable change from this should be to make what was an
error before (not specify an output or ask for text) into a non-error (run
and print metadata, but do not write the wasm).
2020-08-17 17:09:45 -07:00
Sam Clegg
42b61e3c2e
Use wat over wast for text format filenames (#2518) 2019-12-08 20:50:25 -06:00
Sam Clegg
b232033385
Don't include $ with names unless outputting to wat format (#2506)
The `$` is not actually part of the name, its the marker that starts
a name in the wat format.  It can be confusing to see it show up when
doing `cerr << name`, for example.

This change has Print.cpp add the `$` which seem like the right place
to do this.  Plus it revealed a bunch of places where were not calling
printName to escape all the names we were printing.
2019-12-06 14:56:07 -06:00
Heejin Ahn
6600870380
Use package name in imports (NFC) (#2462)
Don't directly import names from shared.py and support.py, and use
prefixes instead. Also this reorders imports based on PEP
recommendation.
2019-11-22 14:46:09 -08:00
Guanzhong Chen
86b8cf6c29
Fix infinite loop in AsmConstWalker::visitCall (#2303) 2019-08-16 15:37:58 -07:00