[sdb][interp] Use the interpreter's resume state to compute the IL offset in compute_...
authorimhameed <50922266+imhameed@users.noreply.github.com>
Thu, 8 Aug 2019 00:05:55 +0000 (17:05 -0700)
committermonojenkins <jo.shields+jenkins@xamarin.com>
Thu, 8 Aug 2019 00:05:55 +0000 (20:05 -0400)
commitc567a1efe95f23c9d2a11019e95f36697ca539de
treeac80fa5e389cf39c18308ade80229da2965563f2
parentdfa7d808cef1fcc6995012d71ce3546851ed9bfb
[sdb][interp] Use the interpreter's resume state to compute the IL offset in compute_frame_info. (mono/mono#15936)

[sdb][interp] Use the interpreter's resume state to compute the IL offset in compute_frame_info.

This recovers the relevant bits of the "resume state" from the interpreter and uses that to recalculate the `il_offset` for the top frame.

Fixes https://github.com/mono/mono/issues/15687.

Commit migrated from https://github.com/mono/mono/commit/fc4d234ef61bc3150be6a3d15e8e80a6bc9fbfa5
src/mono/mono/mini/debugger-agent.c
src/mono/mono/mini/ee.h
src/mono/mono/mini/interp-stubs.c
src/mono/mono/mini/interp/interp.c