summaryrefslogtreecommitdiff
path: root/src/binary-reader-logging.cc
diff options
context:
space:
mode:
authorSam Clegg <sbc@chromium.org>2018-05-29 09:46:08 -0700
committerGitHub <noreply@github.com>2018-05-29 09:46:08 -0700
commit71ce746f1be4290b8d20449ff35b852b5cc374d2 (patch)
treef389dbaf317cad58cb5380487fe46bb0983cd632 /src/binary-reader-logging.cc
parent499b3a3dadf349be553ff2ecc495dcaaeddb4414 (diff)
downloadwabt-71ce746f1be4290b8d20449ff35b852b5cc374d2.tar.gz
wabt-71ce746f1be4290b8d20449ff35b852b5cc374d2.tar.bz2
wabt-71ce746f1be4290b8d20449ff35b852b5cc374d2.zip
Add support for new relocation types used in DWARF sections (#846)
Diffstat (limited to 'src/binary-reader-logging.cc')
-rw-r--r--src/binary-reader-logging.cc8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/binary-reader-logging.cc b/src/binary-reader-logging.cc
index 1ff0aea4..b1896c73 100644
--- a/src/binary-reader-logging.cc
+++ b/src/binary-reader-logging.cc
@@ -518,6 +518,14 @@ Result BinaryReaderLogging::OnGlobalSymbol(Index index,
return reader_->OnGlobalSymbol(index, flags, name, global_index);
}
+Result BinaryReaderLogging::OnSectionSymbol(Index index,
+ uint32_t flags,
+ Index section_index) {
+ LOGF("OnSectionSymbol(flags: 0x%x index: %" PRIindex ")\n", flags,
+ section_index);
+ return reader_->OnSectionSymbol(index, flags, section_index);
+}
+
Result BinaryReaderLogging::OnSegmentInfo(Index index,
string_view name,
uint32_t alignment,