Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3281)

Unified Diff: c2wasm-exe.sh

Issue 1900213002: Subzero - WASM: Codegen fixes, better test infrastructure (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Copyright notice and TODO Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | pydir/wasm-run-torture-tests.py » ('j') | runtime/wasm-runtime.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: c2wasm-exe.sh
diff --git a/c2wasm-exe.sh b/c2wasm-exe.sh
index f7029881c5fe54b5813fe5b84f5a246d742747c9..137a423445b5f6b5aea424a2e3657836104441ec 100755
--- a/c2wasm-exe.sh
+++ b/c2wasm-exe.sh
@@ -4,8 +4,9 @@
# that should be removed.
./wasm-install/bin/emscripten/emcc "$1" -s BINARYEN=1 \
- -s 'BINARYEN_METHOD="native-wasm"' -O2 \
+ -s 'BINARYEN_METHOD="native-wasm"' \
--em-config wasm-install/emscripten_config_vanilla && \
./wasm-install/bin/sexpr-wasm a.out.wast -o a.out.wasm && \
./pnacl-sz a.out.wasm -o a.out.o -filetype=obj -O2 && \
-clang -m32 a.out.o runtime/wasm-runtime.c -g
+clang -m32 a.out.o runtime/wasm-runtime.c ./runtime/szrt.c \
+ ./runtime/wasm-runtime.cpp -lm -g
« no previous file with comments | « no previous file | pydir/wasm-run-torture-tests.py » ('j') | runtime/wasm-runtime.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698