spmi: exclude methods using a file with saved md5 hashes. (dotnet/coreclr#18769)
authorSergey Andreenko <seandree@microsoft.com>
Sat, 28 Jul 2018 01:44:32 +0000 (18:44 -0700)
committerGitHub <noreply@github.com>
Sat, 28 Jul 2018 01:44:32 +0000 (18:44 -0700)
commitc84de153309e34e03eb8a7c9010909e36c71ddfd
tree5ad825f3a9f0589f1ebf9ff0ca7daf07d36048c6
parent6547aba426f730a710f09c6e30b39f783d85fd81
spmi: exclude methods using a file with saved md5 hashes. (dotnet/coreclr#18769)

* read md5, linear search for each method.

* rewrite with HANDLE

* fix linux

* do not waste time dumping md5 if no methods exluded

Commit migrated from https://github.com/dotnet/coreclr/commit/6227652bcf2158df7f52be71106e9264b876fa2a
src/coreclr/src/ToolBox/superpmi/superpmi-shared/methodcontextreader.cpp
src/coreclr/src/ToolBox/superpmi/superpmi-shared/methodcontextreader.h
src/coreclr/src/inc/clr_std/string