* Fixes https://devdiv.visualstudio.com/DevDiv/_workitems/edit/1383962
* Fix {
Co-authored-by: Thays <thaystg@gmail.com>
seq_points = FALSE;
}
+ if (method->wrapper_type == MONO_WRAPPER_OTHER) {
+ WrapperInfo *info = mono_marshal_get_wrapper_info (method);
+ if (info->subtype == WRAPPER_SUBTYPE_INTERP_IN) {
+ /* We could hit a seq point before attaching to the JIT (#8338) */
+ seq_points = FALSE;
+ }
+ }
+
if (cfg->prof_coverage) {
if (cfg->compile_aot)
g_error ("Coverage profiling is not supported with AOT.");