diff options
author | Sam Clegg <sbc@chromium.org> | 2022-01-20 13:59:49 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-20 21:59:49 +0000 |
commit | 4205846f0f7cc795808d8737fd9a0c2c2e2ab41d (patch) | |
tree | 386681d3e18b2a90651452ece117f6b3acfbdb6d /src/wasm/wasm-binary.cpp | |
parent | a1b38c796629f8042d1e1accf4708a6a86bfd408 (diff) | |
download | binaryen-4205846f0f7cc795808d8737fd9a0c2c2e2ab41d.tar.gz binaryen-4205846f0f7cc795808d8737fd9a0c2c2e2ab41d.tar.bz2 binaryen-4205846f0f7cc795808d8737fd9a0c2c2e2ab41d.zip |
Update heuristic for finding `__stack_pointer` to allow exports. NFC (#4467)
There is no reason the `__stack_pointer` global can't be exported from
the module, and in fact I'm experimenting with a non-relocatable main
module that requires this.
See https://github.com/emscripten-core/emscripten/issues/12682
This heuristic still kind of sucks but should always be good enough
for llvm output that always puts the stack pointer first.
Diffstat (limited to 'src/wasm/wasm-binary.cpp')
0 files changed, 0 insertions, 0 deletions