summaryrefslogtreecommitdiff
path: root/scripts/test
diff options
context:
space:
mode:
authorSam Clegg <sbc@chromium.org>2019-07-10 02:59:11 -0700
committerGitHub <noreply@github.com>2019-07-10 02:59:11 -0700
commitbe0a20c3fa39e1fff584f0eb334dd9285e1f1ffa (patch)
tree2e899474fdd1bbbbe80b0bb123be4d80c4487afa /scripts/test
parentf7ebd218d42dd33d512625c2c8f05a5aee1065ab (diff)
downloadbinaryen-be0a20c3fa39e1fff584f0eb334dd9285e1f1ffa.tar.gz
binaryen-be0a20c3fa39e1fff584f0eb334dd9285e1f1ffa.tar.bz2
binaryen-be0a20c3fa39e1fff584f0eb334dd9285e1f1ffa.zip
Ignore --initial-stack-pointer arg to wasm-emscripten-finalize (#2201)
We were passing bad value in --initial-stack-pointer which did not include the STATIC_BUMP (since STATIC_BUMP is determinted by the output of finalize). If emscripten wants to set the stack pointer position it can do so by calling the stackRestore() function at startup. This argument will be removed completely once we stop passing it on the emscripten side. See https://github.com/emscripten-core/emscripten/issues/8905
Diffstat (limited to 'scripts/test')
-rwxr-xr-xscripts/test/lld.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/test/lld.py b/scripts/test/lld.py
index fae551f0d..66c4ebb47 100755
--- a/scripts/test/lld.py
+++ b/scripts/test/lld.py
@@ -25,7 +25,7 @@ def args_for_finalize(filename):
if 'shared' in filename:
return ['--side-module']
else:
- return ['--global-base=568', '--initial-stack-pointer=16384']
+ return ['--global-base=568']
def test_wasm_emscripten_finalize():