[llvm] Set the MonoJitInfo.from_llvm flag for methods loaded from llvm, it got broken...
authorZoltan Varga <vargaz@gmail.com>
Mon, 17 Jul 2017 23:14:02 +0000 (19:14 -0400)
committerGitHub <noreply@github.com>
Mon, 17 Jul 2017 23:14:02 +0000 (19:14 -0400)
mono/mini/aot-runtime.c

index 7b28d8db4a28bc9c6df49dd5a331c5c54216c924..55624a6b1219b16eabdb3172e99b0a7f0e7fd426 100644 (file)
@@ -3005,6 +3005,7 @@ decode_exception_debug_info (MonoAotModule *amodule, MonoDomain *domain,
                                g_slist_free (nesting [i]);
                        g_free (nesting);
                }
+               jinfo->from_llvm = 1;
        } else {
                len = mono_jit_info_size (flags, num_clauses, num_holes);
                jinfo = (MonoJitInfo *)alloc0_jit_info_data (domain, len, async);