Browse Source

Using import cell name to describe callees

pull/1991/head
Andrew Au 5 years ago
parent
commit
5dc79da07f
  1. 7
      ILSpy.ReadyToRun/ReadyToRunLanguage.cs

7
ILSpy.ReadyToRun/ReadyToRunLanguage.cs

@ -149,7 +149,12 @@ namespace ICSharpCode.ILSpy.ReadyToRun
for (int i = 0; i < missingBytes; i++) for (int i = 0; i < missingBytes; i++)
output.Write(" "); output.Write(" ");
output.Write(" "); output.Write(" ");
output.WriteLine(tempOutput.ToStringAndReset()); output.Write(tempOutput.ToStringAndReset());
if (instr.IsCallNearIndirect && reader.ImportCellNames.ContainsKey((int)instr.IPRelativeMemoryAddress)) {
WriteCommentLine(output, reader.ImportCellNames[(int)instr.IPRelativeMemoryAddress]);
} else {
output.WriteLine();
}
} }
output.WriteLine(); output.WriteLine();
} }

Loading…
Cancel
Save