diff options
Diffstat (limited to 'src/binary-reader-logging.cc')
-rw-r--r-- | src/binary-reader-logging.cc | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/binary-reader-logging.cc b/src/binary-reader-logging.cc index 5a555f6d..653e1e48 100644 --- a/src/binary-reader-logging.cc +++ b/src/binary-reader-logging.cc @@ -654,6 +654,15 @@ Result BinaryReaderLogging::OnCodeMetadata(Offset code_offset, return reader_->OnCodeMetadata(code_offset, data, size); } +Result BinaryReaderLogging::OnGenericCustomSection(std::string_view name, + const void* data, + Offset size) { + LOGF("OnGenericCustomSection(name: \"" PRIstringview "\", size: %" PRIzd + ")\n", + WABT_PRINTF_STRING_VIEW_ARG(name), size); + return reader_->OnGenericCustomSection(name, data, size); +} + #define DEFINE_BEGIN(name) \ Result BinaryReaderLogging::name(Offset size) { \ LOGF(#name "(%" PRIzd ")\n", size); \ @@ -894,6 +903,9 @@ DEFINE_INDEX(OnInitFunctionCount) DEFINE_INDEX(OnComdatCount) DEFINE_END(EndLinkingSection) +DEFINE_BEGIN(BeginGenericCustomSection); +DEFINE_END(EndGenericCustomSection); + DEFINE_BEGIN(BeginTagSection); DEFINE_INDEX(OnTagCount); DEFINE_INDEX_INDEX(OnTagType, "index", "sig_index") |