diff options
author | Thomas Lively <7121787+tlively@users.noreply.github.com> | 2021-02-09 16:28:46 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-10 00:28:46 +0000 |
commit | ed9d1a190383cd4705cf5725dcaef59b122c9770 (patch) | |
tree | 5d102fcfe6fa819999dce98a749d998622f1864a /src/ir/stack-utils.cpp | |
parent | e130b58895b64a0fe3a088e25f4043a12f3634ca (diff) | |
download | binaryen-ed9d1a190383cd4705cf5725dcaef59b122c9770.tar.gz binaryen-ed9d1a190383cd4705cf5725dcaef59b122c9770.tar.bz2 binaryen-ed9d1a190383cd4705cf5725dcaef59b122c9770.zip |
Use correct table name in GenerateDynCalls (#3560)
GenerateDynCalls was hardcoding the table name to use in the call_indirects in
the dyncall thunks. The hardcoded name was different from the default name for
imported tables, so the call_indirects referred to a nonexistent table when
dynamic linking was enabled. This PR instead uses the name of table 0 when
creating call_indirects for the dyncall thunks.
Diffstat (limited to 'src/ir/stack-utils.cpp')
0 files changed, 0 insertions, 0 deletions