diff options
author | Sam Clegg <sbc@chromium.org> | 2021-10-19 09:20:05 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-19 09:20:05 -0700 |
commit | d34ec7e7bd7b8ed6a6a07cb2bd6f653d4d9c1e44 (patch) | |
tree | 1bc63747bd1ebf3e47d9be4b337597121927dba8 /src/binary-reader.h | |
parent | 9bebe6aae5a5e2b96c71a4d6da48cb46547d4c4d (diff) | |
download | wabt-d34ec7e7bd7b8ed6a6a07cb2bd6f653d4d9c1e44.tar.gz wabt-d34ec7e7bd7b8ed6a6a07cb2bd6f653d4d9c1e44.tar.bz2 wabt-d34ec7e7bd7b8ed6a6a07cb2bd6f653d4d9c1e44.zip |
Support for import/export info in dylink section (#1741)
Diffstat (limited to 'src/binary-reader.h')
-rw-r--r-- | src/binary-reader.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/binary-reader.h b/src/binary-reader.h index 2871d80f..ce090622 100644 --- a/src/binary-reader.h +++ b/src/binary-reader.h @@ -395,6 +395,12 @@ class BinaryReaderDelegate { uint32_t mem_align_log2, uint32_t table_size, uint32_t table_align_log2) = 0; + virtual Result OnDylinkImportCount(Index count) = 0; + virtual Result OnDylinkExportCount(Index count) = 0; + virtual Result OnDylinkImport(string_view module, + string_view name, + uint32_t flags) = 0; + virtual Result OnDylinkExport(string_view name, uint32_t flags) = 0; virtual Result OnDylinkNeededCount(Index count) = 0; virtual Result OnDylinkNeeded(string_view so_name) = 0; virtual Result EndDylinkSection() = 0; |