[interp] Add method to seq_points table after we finish registering it (#12902)
commitedccda13d3f734f2fa94667d704db414dca17edb
authorVlad Brezae <brezaevlad@gmail.com>
Fri, 8 Feb 2019 20:29:07 +0000 (8 22:29 +0200)
committerLudovic Henry <luhenry@microsoft.com>
Fri, 8 Feb 2019 20:29:07 +0000 (8 15:29 -0500)
tree13493264e3d27652df436d86bbf69b3ea825642a
parentb8ee1ca51fc44601087953304635a17b7d0351f9
[interp] Add method to seq_points table after we finish registering it (#12902)

* [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

* [interp] Move profiler callback when we are actually done

Just in case.
mono/mini/interp/transform.c