diff options
author | Alon Zakai <alonzakai@gmail.com> | 2017-02-07 11:24:57 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-07 11:24:57 -0800 |
commit | 76c8f82d5cf98171ff46ed4bf36791d3b891357f (patch) | |
tree | ab251df55b1274b053896b10b14faf2ac8e526cd /build-js.sh | |
parent | 985bcba6239792ebcb3808f1066ca6ea20ac5688 (diff) | |
download | binaryen-76c8f82d5cf98171ff46ed4bf36791d3b891357f.tar.gz binaryen-76c8f82d5cf98171ff46ed4bf36791d3b891357f.tar.bz2 binaryen-76c8f82d5cf98171ff46ed4bf36791d3b891357f.zip |
asm2wasm debuginfo (#895)
* parse file/line comments in asm.js into debug intrinsics
* convert debug intrinsics into annotations, and print them
* ignore --debuginfo if not emitting text, as wasm binaries don't support that yet
* emit full debug info when -g and emitting text; when -g and emitting binary, all we can do is the Names section
* update wasm.js
Diffstat (limited to 'build-js.sh')
-rwxr-xr-x | build-js.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/build-js.sh b/build-js.sh index 17635eee8..0b3787672 100755 --- a/build-js.sh +++ b/build-js.sh @@ -61,9 +61,13 @@ echo "building wasm.js" "$EMSCRIPTEN/em++" \ $EMCC_ARGS \ src/wasm-js.cpp \ + src/ast/ExpressionAnalyzer.cpp \ + src/ast/ExpressionManipulator.cpp \ src/passes/pass.cpp \ + src/passes/DeadCodeElimination.cpp \ src/passes/Print.cpp \ src/passes/LegalizeJSInterface.cpp \ + src/passes/Vacuum.cpp \ src/emscripten-optimizer/parser.cpp \ src/emscripten-optimizer/simple_ast.cpp \ src/emscripten-optimizer/optimizer-shared.cpp \ |