summaryrefslogtreecommitdiff
path: root/src/binary-reader-nop.h
diff options
context:
space:
mode:
authorSam Clegg <sbc@chromium.org>2021-10-19 09:20:05 -0700
committerGitHub <noreply@github.com>2021-10-19 09:20:05 -0700
commitd34ec7e7bd7b8ed6a6a07cb2bd6f653d4d9c1e44 (patch)
tree1bc63747bd1ebf3e47d9be4b337597121927dba8 /src/binary-reader-nop.h
parent9bebe6aae5a5e2b96c71a4d6da48cb46547d4c4d (diff)
downloadwabt-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-nop.h')
-rw-r--r--src/binary-reader-nop.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/binary-reader-nop.h b/src/binary-reader-nop.h
index f22b05ad..d7c46d31 100644
--- a/src/binary-reader-nop.h
+++ b/src/binary-reader-nop.h
@@ -465,6 +465,16 @@ class BinaryReaderNop : public BinaryReaderDelegate {
}
Result OnDylinkNeededCount(Index count) override { return Result::Ok; }
Result OnDylinkNeeded(string_view so_name) override { return Result::Ok; }
+ Result OnDylinkImportCount(Index count) override { return Result::Ok; }
+ Result OnDylinkExportCount(Index count) override { return Result::Ok; }
+ Result OnDylinkImport(string_view module,
+ string_view name,
+ uint32_t flags) override {
+ return Result::Ok;
+ }
+ Result OnDylinkExport(string_view name, uint32_t flags) override {
+ return Result::Ok;
+ }
Result EndDylinkSection() override { return Result::Ok; }
/* Linking section */