Improvements for naked R2RDump output (dotnet/coreclr#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
Commit migrated from https://github.com/dotnet/coreclr/commit/
940ed217fd424f645227acd3d9fac0caf28ec47b