summaryrefslogtreecommitdiff
path: root/src/binary-reader-objdump.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/binary-reader-objdump.cc')
-rw-r--r--src/binary-reader-objdump.cc9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/binary-reader-objdump.cc b/src/binary-reader-objdump.cc
index 7cca4505..9b451c9b 100644
--- a/src/binary-reader-objdump.cc
+++ b/src/binary-reader-objdump.cc
@@ -986,6 +986,8 @@ class BinaryReaderObjdump : public BinaryReaderObjdumpBase {
Index index,
uint32_t addend) override;
+ Result OnFeature(uint8_t prefix, string_view name) override;
+
Result OnSymbolCount(Index count) override;
Result OnDataSymbol(Index index,
uint32_t flags,
@@ -1022,7 +1024,6 @@ class BinaryReaderObjdump : public BinaryReaderObjdumpBase {
Result OnComdatCount(Index count) override;
Result OnComdatBegin(string_view name, uint32_t flags, Index count) override;
Result OnComdatEntry(ComdatType kind, Index index) override;
- Result EndLinkingSection() override { return Result::Ok; }
Result OnTagCount(Index count) override;
Result OnTagType(Index index, Index sig_index) override;
@@ -1842,6 +1843,12 @@ Result BinaryReaderObjdump::OnReloc(RelocType type,
return Result::Ok;
}
+Result BinaryReaderObjdump::OnFeature(uint8_t prefix, string_view name) {
+ PrintDetails(" - [%c] " PRIstringview "\n", prefix,
+ WABT_PRINTF_STRING_VIEW_ARG(name));
+ return Result::Ok;
+}
+
Result BinaryReaderObjdump::OnSymbolCount(Index count) {
PrintDetails(" - symbol table [count=%d]\n", count);
return Result::Ok;