summaryrefslogtreecommitdiff
path: root/src/binary-reader-logging.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/binary-reader-logging.cc')
-rw-r--r--src/binary-reader-logging.cc10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/binary-reader-logging.cc b/src/binary-reader-logging.cc
index db139c55..2a145cec 100644
--- a/src/binary-reader-logging.cc
+++ b/src/binary-reader-logging.cc
@@ -538,6 +538,16 @@ Result BinaryReaderLogging::OnSectionSymbol(Index index,
return reader_->OnSectionSymbol(index, flags, section_index);
}
+Result BinaryReaderLogging::OnEventSymbol(Index index,
+ uint32_t flags,
+ string_view name,
+ Index event_index) {
+ LOGF("OnEventSymbol(name: " PRIstringview " flags: 0x%x index: %" PRIindex
+ ")\n",
+ WABT_PRINTF_STRING_VIEW_ARG(name), flags, event_index);
+ return reader_->OnEventSymbol(index, flags, name, event_index);
+}
+
Result BinaryReaderLogging::OnSegmentInfo(Index index,
string_view name,
uint32_t alignment,