Skip to content

Commit

Permalink
[metadata-update] add effective table lookup debug output
Browse files Browse the repository at this point in the history
  • Loading branch information
lambdageek committed Jan 6, 2021
1 parent 6429372 commit d3fc78e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/mono/mono/metadata/metadata-update.c
Original file line number Diff line number Diff line change
Expand Up @@ -501,6 +501,8 @@ mono_image_effective_table (const MonoTableInfo **t, int *idx)
ridx = mono_image_relative_delta_index (dmeta, mono_metadata_make_token (tbl_index, *idx + 1)) - 1;
} while (ridx < 0 || ridx >= table->rows);

mono_trace (G_LOG_LEVEL_DEBUG, MONO_TRACE_METADATA_UPDATE, "effective table for %s: 0x%08x -> 0x%08x (gen %d)", mono_meta_table_name (tbl_index), *idx, ridx, metadata_update_local_generation (base, dmeta));

*t = table;
*idx = ridx;
}
Expand Down

0 comments on commit d3fc78e

Please sign in to comment.