Fix dumping of GCSlotFlags in R2RDump (#1833)
authorJan Vorlicek <janvorli@microsoft.com>
Fri, 17 Jan 2020 00:08:15 +0000 (01:08 +0100)
committerGitHub <noreply@github.com>
Fri, 17 Jan 2020 00:08:15 +0000 (01:08 +0100)
commitae2fbae161bc0607db35ad706d969066cf51e7e7
tree681355aca99cc8a5104fcabdc29cad39584f7495
parentbe613d56fe3480599864e427cc2a92bd65e31f9f
Fix dumping of GCSlotFlags in R2RDump (#1833)

There were two issues. If a slot was marked as untracked, we were
replacing whatever flags there were set by GC_SLOT_UNTRACKED. After
fixing that, the other problem was that the GCSlotFlags were not marked
as Flags and so we were not printing it as combination of flags.
src/coreclr/src/tools/crossgen2/ILCompiler.Reflection.ReadyToRun/Amd64/GcSlotTable.cs
src/coreclr/src/tools/crossgen2/ILCompiler.Reflection.ReadyToRun/GCInfoTypes.cs