GCInfo: Fix ARM64 GCInfo decoding
authorSwaroop Sridhar <swaroops@microsoft.com>
Fri, 8 Apr 2016 01:09:13 +0000 (18:09 -0700)
committerSwaroop Sridhar <swaroops@microsoft.com>
Mon, 11 Apr 2016 23:51:34 +0000 (16:51 -0700)
commita9fd95fdca10e8d48f72a071fc2c608ec133bc11
tree044f21588845aa10376d9472bc22a73c77389edf
parent4d24cf3fb9c0c9af1690ab71548b5565ee0698b8
GCInfo: Fix ARM64 GCInfo decoding

GCStress traps were not inserted in ARM64 code correctly because safepoint
offsets were not correctly computed by EnumerateSafepoints().

This change fixes the issue by adding the (-1) adjustment to the ARM64
Safepoint offsets, similar to ARM and AMD64.

Commit migrated from https://github.com/dotnet/coreclr/commit/b6502aae0447fe7ccbc21b354c545c8ba58c902a
src/coreclr/src/gcinfo/gcinfodumper.cpp
src/coreclr/src/vm/gcinfodecoder.cpp