Change GC stack slot negative hex offsets to show as negative (#45940)
authorBruce Forstall <brucefo@microsoft.com>
Fri, 11 Dec 2020 06:51:21 +0000 (22:51 -0800)
committerGitHub <noreply@github.com>
Fri, 11 Dec 2020 06:51:21 +0000 (22:51 -0800)
commit5c0328dae39e631c2ca844bab8c43d60ff9bc523
tree627e2610efa2a022e2de186cdf12dd494d41458c
parent8cd2d3077577bf14ae568f7d2fa9de2f1556d90c
Change GC stack slot negative hex offsets to show as negative (#45940)

In the GC output, instead of:

```
Stack slot id for offset -104 (0xffffff98) (frame) = 5.
```

display:

```
Stack slot id for offset -104 (-0x68) (frame) = 5.
```

This makes it easier to search for or visually match the
`-0x68` against asm like:
```
mov      gword ptr [rbp-68H], rax
```
src/coreclr/jit/gcencode.cpp