summaryrefslogtreecommitdiff
path: root/test/ctor-eval/global-get-init.wast.ctors
diff options
context:
space:
mode:
authorAlon Zakai <azakai@google.com>2022-01-06 15:04:42 -0800
committerGitHub <noreply@github.com>2022-01-06 15:04:42 -0800
commit8c0f53d236f664086405870321e5887aaed39f3f (patch)
treee2d8153967535df252db9c98af584841cf7c5a38 /test/ctor-eval/global-get-init.wast.ctors
parent5049f077ae2d21166dc8ee4c3057bdc48cb3d94c (diff)
downloadbinaryen-8c0f53d236f664086405870321e5887aaed39f3f.tar.gz
binaryen-8c0f53d236f664086405870321e5887aaed39f3f.tar.bz2
binaryen-8c0f53d236f664086405870321e5887aaed39f3f.zip
[ctor-eval] Add --ignore-external-input option (#4428)
This is meant to address one of the main limitations of wasm-ctor-eval in emscripten atm, that libc++ global ctors will read env vars, which means they call an import, which stops us from evalling, emscripten-core/emscripten#15403 (comment) To handle that, this adds an option to ignore external input. When set, we can assume that no env vars will be read, no reading from stdin, no arguments to main(), etc. Perhaps these could each be separate options, but I think keeping it simple for now might be good enough.
Diffstat (limited to 'test/ctor-eval/global-get-init.wast.ctors')
0 files changed, 0 insertions, 0 deletions