Fix a couple of issues when using textual PGO input (#72773)
authorJakob Botsch Nielsen <Jakob.botsch.nielsen@gmail.com>
Wed, 27 Jul 2022 14:50:11 +0000 (16:50 +0200)
committerGitHub <noreply@github.com>
Wed, 27 Jul 2022 14:50:11 +0000 (16:50 +0200)
commit3367b351b4e5dbedfe1ea70dc6a475a10096cc72
tree2398afa29a8fadd52a17bd2f9ef6fe3a1b59c972
parent7177b9d43fdd8901e161a3c75d80273482d65442
Fix a couple of issues when using textual PGO input (#72773)

* Ensure non generic method defs when using textual PGO

* Allow static profiles to contain static methods for non-delegate calls

The textual PGO format currently just describes methods by name and does
not include signature information/generic instantiations. This means we
may see various edge cases here. These particular cases would hit asserts.
src/coreclr/jit/importer.cpp
src/coreclr/vm/pgo.cpp