Add R2RDump support for lazy GC info (#44261)
authorTomáš Rylek <trylek@microsoft.com>
Thu, 5 Nov 2020 12:21:20 +0000 (13:21 +0100)
committerGitHub <noreply@github.com>
Thu, 5 Nov 2020 12:21:20 +0000 (13:21 +0100)
commit7a8108c68a1d870175dab2b79ebe0c89b9287d57
tree5b5162e073f4032f099873f2e4664a6a64d1b40a
parent2cf2f5789f612364fedd36b24f55be617a244a55
Add R2RDump support for lazy GC info (#44261)

This change makes it such that GC info is not automatically parsed
for each method, we only store a delegate performing the parsing
that gets called on demand. In practice this also helps us with
working around a bug in GC info previously crashing R2RDump when
emitting PDB in ARM release build mode.

Thanks

Tomas
src/coreclr/src/tools/aot/ILCompiler.Reflection.ReadyToRun/ReadyToRunMethod.cs
src/coreclr/src/tools/r2rdump/TextDumper.cs