summaryrefslogtreecommitdiff
path: root/src/binary-reader-logging.h
diff options
context:
space:
mode:
authorBen Smith <binjimin@gmail.com>2018-05-01 10:55:45 -0700
committerGitHub <noreply@github.com>2018-05-01 10:55:45 -0700
commita0bdeb720a1cdcff2b2045aa0a0e0e33a5a5e8a9 (patch)
tree351c74bc6abebbe3b599509a7b84533f08bc8b99 /src/binary-reader-logging.h
parent2ec0d8536daedca867b188d88c47e45cd3b38c64 (diff)
downloadwabt-a0bdeb720a1cdcff2b2045aa0a0e0e33a5a5e8a9.tar.gz
wabt-a0bdeb720a1cdcff2b2045aa0a0e0e33a5a5e8a9.tar.bz2
wabt-a0bdeb720a1cdcff2b2045aa0a0e0e33a5a5e8a9.zip
Read and write module names in the names section (#831)
Diffstat (limited to 'src/binary-reader-logging.h')
-rw-r--r--src/binary-reader-logging.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/binary-reader-logging.h b/src/binary-reader-logging.h
index 2acf7ae5..37893f8b 100644
--- a/src/binary-reader-logging.h
+++ b/src/binary-reader-logging.h
@@ -227,6 +227,10 @@ class BinaryReaderLogging : public BinaryReaderDelegate {
Result EndDataSection() override;
Result BeginNamesSection(Offset size) override;
+ Result OnModuleNameSubsection(Index index,
+ uint32_t name_type,
+ Offset subsection_size) override;
+ Result OnModuleName(string_view name) override;
Result OnFunctionNameSubsection(Index index,
uint32_t name_type,
Offset subsection_size) override;