summaryrefslogtreecommitdiff
path: root/src/binary-reader-nop.h
diff options
context:
space:
mode:
authorSam Clegg <sbc@chromium.org>2021-10-19 15:39:04 -0700
committerGitHub <noreply@github.com>2021-10-19 15:39:04 -0700
commit5d2a919ce1fea41a626c5cc8fc440879756fde9c (patch)
tree5b1f0cb7b560d51e73a7733593730b7e03508bc8 /src/binary-reader-nop.h
parent60ef15d09db5b6e9336ad7d3b400bd64571b3933 (diff)
downloadwabt-5d2a919ce1fea41a626c5cc8fc440879756fde9c.tar.gz
wabt-5d2a919ce1fea41a626c5cc8fc440879756fde9c.tar.bz2
wabt-5d2a919ce1fea41a626c5cc8fc440879756fde9c.zip
Add support for target_features section (#1744)
Diffstat (limited to 'src/binary-reader-nop.h')
-rw-r--r--src/binary-reader-nop.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/binary-reader-nop.h b/src/binary-reader-nop.h
index d7c46d31..5e5151a9 100644
--- a/src/binary-reader-nop.h
+++ b/src/binary-reader-nop.h
@@ -477,6 +477,14 @@ class BinaryReaderNop : public BinaryReaderDelegate {
}
Result EndDylinkSection() override { return Result::Ok; }
+ /* target_features section */
+ Result BeginTargetFeaturesSection(Offset size) override { return Result::Ok; }
+ Result OnFeatureCount(Index count) override { return Result::Ok; }
+ Result OnFeature(uint8_t prefix, string_view name) override {
+ return Result::Ok;
+ }
+ Result EndTargetFeaturesSection() override { return Result::Ok; }
+
/* Linking section */
Result BeginLinkingSection(Offset size) override { return Result::Ok; }
Result OnSymbolCount(Index count) override { return Result::Ok; }