diff options
author | pipcet <pipcet@users.noreply.github.com> | 2017-04-03 19:30:36 +0000 |
---|---|---|
committer | Sam Clegg <sbc@chromium.org> | 2017-04-03 12:30:36 -0700 |
commit | ad0d589c6bf89afaac6ab24fb0c20c9b1a6f0297 (patch) | |
tree | f93dd864bcb5ae71d5d3d73c4d2c2b2b584dce66 /src/binary-reader-logging.h | |
parent | f57ff31c1425e5f066dd0959992fb2aabc39b510 (diff) | |
download | wabt-ad0d589c6bf89afaac6ab24fb0c20c9b1a6f0297.tar.gz wabt-ad0d589c6bf89afaac6ab24fb0c20c9b1a6f0297.tar.bz2 wabt-ad0d589c6bf89afaac6ab24fb0c20c9b1a6f0297.zip |
Fix function name indices for imported functions (#384)
When linking, a source binary's imported function indices and its
implemented function indices can be non-contiguous; the previous
code didn't catch that.
Cache relocated indices in calculate_reloc_offsets to avoid O(n^2)
behavior.
Diffstat (limited to 'src/binary-reader-logging.h')
0 files changed, 0 insertions, 0 deletions