diff options
author | monojenkins <jo.shields+jenkins@xamarin.com> | 2018-11-16 14:10:49 +0300 |
---|---|---|
committer | Alexander Köplinger <alex.koeplinger@outlook.com> | 2018-11-16 14:10:49 +0300 |
commit | 78eb5303e85fd3d3482dc8ae341a43a71f9a14d6 (patch) | |
tree | 89bb2cc904027b16281a3db1b5da9b3e331a44df | |
parent | 54cc205dd93a40af422e2469e763118aa4413068 (diff) |
[2018-06] [aot] image is usable without debug flag when interpreter is used (#11711)
Backport of #11705.
-rw-r--r-- | mono/mini/aot-runtime.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mono/mini/aot-runtime.c b/mono/mini/aot-runtime.c index 9e8b0084d7f..199928fde3c 100644 --- a/mono/mini/aot-runtime.c +++ b/mono/mini/aot-runtime.c @@ -1860,7 +1860,7 @@ check_usable (MonoAssembly *assembly, MonoAotFileInfo *info, guint8 *blob, char msg = g_strdup_printf ("not compiled with --aot=llvm"); usable = FALSE; } - if (mini_get_debug_options ()->mdb_optimizations && !(info->flags & MONO_AOT_FILE_FLAG_DEBUG) && !full_aot) { + if (mini_get_debug_options ()->mdb_optimizations && !(info->flags & MONO_AOT_FILE_FLAG_DEBUG) && !full_aot && !interp) { msg = g_strdup_printf ("not compiled for debugging"); usable = FALSE; } |