diff options
author | acmyu <amycmyu@gmail.com> | 2018-05-23 17:24:03 -0700 |
---|---|---|
committer | Zach Montoya <zamont@microsoft.com> | 2018-05-23 17:24:03 -0700 |
commit | 6c934c21df759d4319e2006ef4add9e01068f648 (patch) | |
tree | a659e52bfda8b57c85523426aa3c066473cf0c71 /src/tools/r2rdump/R2RDump.cs | |
parent | f4c6bebb1601596ea54baff489e50b64ad4a6a2e (diff) | |
download | coreclr-6c934c21df759d4319e2006ef4add9e01068f648.tar.gz coreclr-6c934c21df759d4319e2006ef4add9e01068f648.tar.bz2 coreclr-6c934c21df759d4319e2006ef4add9e01068f648.zip |
R2RDump - Dump generic method instances (#18080)
* R2RDump - dump generic method instances
* Added comments
* Move read functions to own class, changes to NativeHashtable to make it similar to NativeFormatReader
* Get type name for struct generic instances
* Emit # of runtimeFunctions and size:unavailable, add [Flags] to enum and NONE flag
* Throw exception when method entrypoint id is out of bounds
* Type name instead of var
* Get full classname including namespace
* Get parent types of nested types
* Save DeclaringType as string, rename variables, use 1 constructor
* Check generic param indices not out of bounds
Diffstat (limited to 'src/tools/r2rdump/R2RDump.cs')
-rw-r--r-- | src/tools/r2rdump/R2RDump.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tools/r2rdump/R2RDump.cs b/src/tools/r2rdump/R2RDump.cs index a54d7291af..7d0bd2fd19 100644 --- a/src/tools/r2rdump/R2RDump.cs +++ b/src/tools/r2rdump/R2RDump.cs @@ -39,10 +39,10 @@ namespace R2RDump Console.WriteLine(section.Value.ToString()); } - Console.WriteLine("============== Native Code =============="); + Console.WriteLine("============== Native Code ==============\n"); foreach (R2RMethod method in r2r.R2RMethods) { - Console.WriteLine(method.ToString()); + Console.Write(method.ToString()); Console.WriteLine("------------------\n"); } } |