diff options
Diffstat (limited to 'src/binary-reader-logging.cc')
-rw-r--r-- | src/binary-reader-logging.cc | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/binary-reader-logging.cc b/src/binary-reader-logging.cc index fb3d3840..1776a9ba 100644 --- a/src/binary-reader-logging.cc +++ b/src/binary-reader-logging.cc @@ -584,6 +584,12 @@ Result BinaryReaderLogging::OnReloc(RelocType type, return reader_->OnReloc(type, offset, index, addend); } +Result BinaryReaderLogging::OnFeature(uint8_t prefix, string_view name) { + LOGF("OnFeature(prefix: '%c', name: '" PRIstringview "')\n", prefix, + WABT_PRINTF_STRING_VIEW_ARG(name)); + return reader_->OnFeature(prefix, name); +} + Result BinaryReaderLogging::OnDataSymbol(Index index, uint32_t flags, string_view name, @@ -902,6 +908,10 @@ DEFINE_INDEX(OnDylinkExportCount) DEFINE_INDEX(OnDylinkImportCount) DEFINE_END(EndDylinkSection) +DEFINE_BEGIN(BeginTargetFeaturesSection) +DEFINE_INDEX(OnFeatureCount) +DEFINE_END(EndTargetFeaturesSection) + DEFINE_BEGIN(BeginLinkingSection) DEFINE_INDEX(OnSymbolCount) DEFINE_INDEX(OnSegmentInfoCount) |