R2RDump - Gracefully handle inability to parse GC Info
authorSimon Nattress <nattress@gmail.com>
Thu, 21 Feb 2019 21:37:50 +0000 (13:37 -0800)
committerSimon Nattress <nattress@gmail.com>
Fri, 22 Feb 2019 20:27:10 +0000 (12:27 -0800)
commit147ce06ed85fa4ff696ac94eefba3b802ac0d2dc
tree2fbac27f6ca90f677f2b6a8852f75a3f97ef6dbd
parent00f7964f86f5b4644c4dc4326cf639a3a8a9e84b
R2RDump - Gracefully handle inability to parse GC Info

The Amd64 GC Info parser is not complete in its implementation and
sometimes will index to a location beyond the size of the image.

If we fail to parse the GC info for a method, continue dumping the rest
of the image.

Emit a warning when this happens so we don't forget about this.

Commit migrated from https://github.com/dotnet/coreclr/commit/b43650c6b60b47c5823c9bf1806fab0a5ca3f7c1
src/coreclr/src/tools/r2rdump/R2RReader.cs