summaryrefslogtreecommitdiff
path: root/src/wasm/literal.cpp
diff options
context:
space:
mode:
authorSam Clegg <sbc@chromium.org>2020-12-04 21:36:01 -0800
committerGitHub <noreply@github.com>2020-12-04 21:36:01 -0800
commit51dfeef750acacea8dd1331213aa87ae76423dea (patch)
tree8ce468d30222381d52d4544889d91f1c29dc2a69 /src/wasm/literal.cpp
parentb501c243b0f0949438e98336c86e1942725fcbda (diff)
downloadbinaryen-51dfeef750acacea8dd1331213aa87ae76423dea.tar.gz
binaryen-51dfeef750acacea8dd1331213aa87ae76423dea.tar.bz2
binaryen-51dfeef750acacea8dd1331213aa87ae76423dea.zip
wasm-emscripten-finalize: Support PIC + threads (#3427)
With PIC + threads the offset of passive segments is not constant but relative to `__memory_base`. When trying to find passive segment offset based on the target of the `memory.init` instruction we need to consider this possibility as well as the regular constant one. For the llvm side of this that generates the calls to memory.init see: https://reviews.llvm.org/D92620
Diffstat (limited to 'src/wasm/literal.cpp')
0 files changed, 0 insertions, 0 deletions