summaryrefslogtreecommitdiff
path: root/src/jit/jitconfig.h
diff options
context:
space:
mode:
authorBrian Sullivan <briansul@microsoft.com>2018-05-10 14:07:49 -0700
committerBrian Sullivan <briansul@microsoft.com>2018-05-11 14:44:15 -0700
commit059c090be0be9a31b40277df9251ab4f2492ee6a (patch)
tree0f82445cda0183f70dfe8ba6062da45eb3b17a25 /src/jit/jitconfig.h
parentd31fdcaa70cc6b9a969a4e2158eb545aee9c624b (diff)
downloadcoreclr-059c090be0be9a31b40277df9251ab4f2492ee6a.tar.gz
coreclr-059c090be0be9a31b40277df9251ab4f2492ee6a.tar.bz2
coreclr-059c090be0be9a31b40277df9251ab4f2492ee6a.zip
Improve the JitConfig class and method name matching for wildcards.
With this change we can use a prefix and wildcard match This allows us to match classes and methods that start with a prefix. Example: 1. My*:Method would match a method named "Method" inside any class that starts with "My" 2. *:get_* or simple get_* both will match any method that starts with "get_" This allows us to match some Managed C++ methods that we could not otherwise match: By using COMPLUS_JitDump=std._Find_if* we can match this managed C++ method: <Module>:std._Find_if<class std::_Tree_unchecked_iterator<class std::_Tree_val<struct std::_Tree_simple_types<struct std::pair<struct TIP_MAP_KEY const ,struct TIP_MAP_VALUE> > > >,struct TIP_FIND_ALG>(long,struct,struct,struct)
Diffstat (limited to 'src/jit/jitconfig.h')
-rw-r--r--src/jit/jitconfig.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/jit/jitconfig.h b/src/jit/jitconfig.h
index 9186e12982..b1957fe345 100644
--- a/src/jit/jitconfig.h
+++ b/src/jit/jitconfig.h
@@ -21,8 +21,10 @@ public:
MethodName* m_next;
int m_methodNameStart;
int m_methodNameLen;
+ bool m_methodNameWildcardAtEnd;
int m_classNameStart;
int m_classNameLen;
+ bool m_classNameWildcardAtEnd;
int m_numArgs;
};