Improvements for naked R2RDump output (#21317)
authorTomáš Rylek <trylek@microsoft.com>
Mon, 3 Dec 2018 19:33:49 +0000 (20:33 +0100)
committerGitHub <noreply@github.com>
Mon, 3 Dec 2018 19:33:49 +0000 (20:33 +0100)
commit940ed217fd424f645227acd3d9fac0caf28ec47b
tree30010d7763cf6ca0103f51b9052d78fb5267dc17
parentcb8557de0c07126473172483aee08cabcb6d67a7
Improvements for naked R2RDump output (#21317)

The initial impulse for this change was removing native offsets
from debug info that caused noise in naked R2R comparisons. Fixing
this required propagation of DumpOptions to some more call sites
prompting me to unify dumping logic to always use TextWriter
as the output medium. I have also fixed some minor bugs I noticed
around the naked disassembly.

Thanks

Tomas
src/tools/r2rdump/CoreDisTools.cs
src/tools/r2rdump/DebugInfo.cs
src/tools/r2rdump/EHInfo.cs
src/tools/r2rdump/R2RMethod.cs
src/tools/r2rdump/TextDumper.cs