[2019-02] [interp] Add method to seq_points table after we finish registering it...
commit14c5f6cc4182f04f52760349ba17a8494085dabe
authormonojenkins <jo.shields+jenkins@xamarin.com>
Mon, 11 Feb 2019 13:25:43 +0000 (11 08:25 -0500)
committerGitHub <noreply@github.com>
Mon, 11 Feb 2019 13:25:43 +0000 (11 08:25 -0500)
tree2bd284844a4d396433d48b799d65f018f1606c6c
parent6ad34f458f08f2ef60ec5377551695be9cb8584f
[2019-02] [interp] Add method to seq_points table after we finish registering it (#12908)

[2019-02] [interp] Add method to seq_points table after we finish registering it

When adding a breakpoint (mono_de_set_breakpoint) we search in this table for seq_point information for the method. If we find the information we expect that the method is already compiled and has the metadata initialized when actually adding the breakpoint (set_bp_in_method). We were crashing if the jinfo field of the interp method was not yet initialized.

Fixes https://github.com/xamarin/xamarin-macios/issues/5381

Backport of #12902.

/cc @luhenry @BrzVlad
mono/mini/interp/transform.c