Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
36d9693
checkpoint: allow adding methods to existing classes.
lambdageek Jun 8, 2021
0c4aa74
fixme in loader
lambdageek Jun 22, 2021
c68b895
[metadata] Add mono_metadata_table_num_rows
lambdageek Jul 13, 2021
d0b7d77
add table to ptr table helper
lambdageek Jul 13, 2021
25e2fb8
Param attr lookups for deltas can have param_index == 0
lambdageek Jul 13, 2021
099edb5
WIP: start adding support for parameter additions.
lambdageek Jul 13, 2021
6cbee0b
WIP: add MethodDef -> TypeDef lookup
lambdageek Jul 15, 2021
8cfb9fb
Add hot reload test for lambda capturing this
lambdageek Jul 15, 2021
287654e
clarify comments about MONO_METHOD_PARAMLIST
lambdageek Jul 15, 2021
6336699
[hot_reload] Store debug info of updated methods
lambdageek Jul 16, 2021
cdfb9a7
[hot_reload] Allocate modifiable tables in DeltaInfo
lambdageek Nov 12, 2021
4b250b9
[mini] Allow MONO_VERBOSE_METHOD='*:*'
lambdageek Nov 12, 2021
cdcf003
populate mutated table rows
lambdageek Nov 12, 2021
ac0ac83
[hot_reload] Switch lookups to the mutant tables
lambdageek Nov 16, 2021
25253f7
cleanup: remove of effective_table calculation
lambdageek Nov 19, 2021
38b17da
cleanup: Remove relative_delta_index from component API
lambdageek Nov 19, 2021
d1c1c8e
cleanup: Pass DeltaInfo to relative_delta_index
lambdageek Nov 19, 2021
629075d
cleanup: Store a list of DeltaInfo in the BaselineInfo
lambdageek Nov 19, 2021
3114871
Turn off method addition support, for now
lambdageek Nov 19, 2021
6e56f85
Fix null ptr when checking for updated ppdb info
lambdageek Nov 29, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
[mini] Allow MONO_VERBOSE_METHOD='*:*'
Implement method name wildcard matching for method descriptions

Globbing doesn't work because we don't have g_pattern_match_simple in eglib.
But a plain '*' wildcard does work.
  • Loading branch information
lambdageek committed Nov 12, 2021
commit 4b250b941cbf7abc6f183b356e27bea43e3cbb42
7 changes: 7 additions & 0 deletions src/mono/mono/metadata/debug-helpers.c
Original file line number Diff line number Diff line change
Expand Up @@ -470,6 +470,13 @@ mono_method_desc_match (MonoMethodDesc *desc, MonoMethod *method)
char *sig;
gboolean name_match;

if (desc->name_glob && !strcmp (desc->name, "*"))
return TRUE;
#if 0
/* FIXME: implement g_pattern_match_simple in eglib */
if (desc->name_glob && g_pattern_match_simple (desc->name, method->name))
return TRUE;
#endif
name_match = strcmp (desc->name, method->name) == 0;
if (!name_match)
return FALSE;
Expand Down
2 changes: 1 addition & 1 deletion src/mono/mono/mini/mini.c
Original file line number Diff line number Diff line change
Expand Up @@ -3403,7 +3403,7 @@ mini_method_compile (MonoMethod *method, guint32 opts, JitFlags flags, int parts
for (i = 0; verbose_method_names [i] != NULL; i++){
const char *name = verbose_method_names [i];

if ((strchr (name, '.') > name) || strchr (name, ':')) {
if ((strchr (name, '.') > name) || strchr (name, ':') || strchr (name, '*')) {
MonoMethodDesc *desc;

desc = mono_method_desc_new (name, TRUE);
Expand Down