summaryrefslogtreecommitdiff
path: root/src/binary-reader-logging.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/binary-reader-logging.h')
-rw-r--r--src/binary-reader-logging.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/binary-reader-logging.h b/src/binary-reader-logging.h
index 1bc89acb..57be35d3 100644
--- a/src/binary-reader-logging.h
+++ b/src/binary-reader-logging.h
@@ -74,6 +74,11 @@ class BinaryReaderLogging : public BinaryReaderDelegate {
Index global_index,
Type type,
bool mutable_) override;
+ Result OnImportException(Index import_index,
+ StringSlice module_name,
+ StringSlice field_name,
+ Index except_index,
+ TypeVector& sig) override;
Result EndImportSection() override;
Result BeginFunctionSection(Offset size) override;
@@ -136,6 +141,8 @@ class BinaryReaderLogging : public BinaryReaderDelegate {
Index* target_depths,
Index default_target_depth) override;
Result OnCallExpr(Index func_index) override;
+ Result OnCatchExpr(Index except_index) override;
+ Result OnCatchAllExpr() override;
Result OnCallIndirectExpr(Index sig_index) override;
Result OnCompareExpr(Opcode opcode) override;
Result OnConvertExpr(Opcode opcode) override;
@@ -157,6 +164,7 @@ class BinaryReaderLogging : public BinaryReaderDelegate {
Address offset) override;
Result OnLoopExpr(Index num_types, Type* sig_types) override;
Result OnNopExpr() override;
+ Result OnRethrowExpr(Index depth) override;
Result OnReturnExpr() override;
Result OnSelectExpr() override;
Result OnSetGlobalExpr(Index global_index) override;
@@ -165,6 +173,8 @@ class BinaryReaderLogging : public BinaryReaderDelegate {
uint32_t alignment_log2,
Address offset) override;
Result OnTeeLocalExpr(Index local_index) override;
+ Result OnThrowExpr(Index except_index) override;
+ Result OnTryExpr(Index num_types, Type* sig_types) override;
Result OnUnaryExpr(Opcode opcode) override;
Result OnUnreachableExpr() override;
Result EndFunctionBody(Index index) override;
@@ -227,6 +237,11 @@ class BinaryReaderLogging : public BinaryReaderDelegate {
Result OnSymbolInfoCount(Index count) override;
Result EndLinkingSection() override;
+ Result BeginExceptionSection(Offset size) override;
+ Result OnExceptionCount(Index count) override;
+ Result OnExceptionType(Index index, TypeVector& sig) override;
+ Result EndExceptionSection() override;
+
Result OnInitExprF32ConstExpr(Index index, uint32_t value) override;
Result OnInitExprF64ConstExpr(Index index, uint64_t value) override;
Result OnInitExprGetGlobalExpr(Index index,
@@ -239,6 +254,7 @@ class BinaryReaderLogging : public BinaryReaderDelegate {
void Dedent();
void WriteIndent();
void LogTypes(Index type_count, Type* types);
+ void LogTypes(TypeVector& types);
Stream* stream;
BinaryReaderDelegate* reader;