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.cc11
1 files changed, 4 insertions, 7 deletions
diff --git a/src/binary-reader-logging.cc b/src/binary-reader-logging.cc
index 9aa14f79..b86fb550 100644
--- a/src/binary-reader-logging.cc
+++ b/src/binary-reader-logging.cc
@@ -463,13 +463,10 @@ Result BinaryReaderLogging::OnInitExprI64ConstExpr(Index index,
}
Result BinaryReaderLogging::OnRelocCount(Index count,
- BinarySection section_code,
- string_view section_name) {
- LOGF("OnRelocCount(count: %" PRIindex
- ", section: %s, section_name: " PRIstringview ")\n",
- count, GetSectionName(section_code),
- WABT_PRINTF_STRING_VIEW_ARG(section_name));
- return reader_->OnRelocCount(count, section_code, section_name);
+ Index section_index) {
+ LOGF("OnRelocCount(count: %" PRIindex ", section: %" PRIindex ")\n", count,
+ section_index);
+ return reader_->OnRelocCount(count, section_index);
}
Result BinaryReaderLogging::OnReloc(RelocType type,