diff options
author | Alon Zakai <azakai@google.com> | 2022-01-06 15:04:42 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-06 15:04:42 -0800 |
commit | 8c0f53d236f664086405870321e5887aaed39f3f (patch) | |
tree | e2d8153967535df252db9c98af584841cf7c5a38 /test/ctor-eval/global-get-init.wast.ctors | |
parent | 5049f077ae2d21166dc8ee4c3057bdc48cb3d94c (diff) | |
download | binaryen-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