Minor R2RDump facelift w.r.t. diffing dump (#2184)
authorTomáš Rylek <trylek@microsoft.com>
Mon, 27 Jan 2020 13:04:51 +0000 (14:04 +0100)
committerGitHub <noreply@github.com>
Mon, 27 Jan 2020 13:04:51 +0000 (14:04 +0100)
commite7ce09d38493809f166dc633b6248a6021bc2f98
treea8d196fb5f5e00fe36228e2aef43e40de271dbe6
parent96c79db0b581fd39d05e705509d0fcfe678f1f12
Minor R2RDump facelift w.r.t. diffing dump (#2184)

Based on offline chat with JanV I added initial provisions to simplify
diffing Crossgen1- and 2-compiled SPC. In essence, the --diff option
newly ends up emitting two extra files with the ".r2rdump" extension
representing the methods common to the left and right R2R file. This
is formerly untrodden territory, I'm pioneering R2RDump usability for
this purpose.

Thanks

Tomas
src/coreclr/src/tools/r2rdump/R2RDiff.cs
src/coreclr/src/tools/r2rdump/R2RDump.cs