Improve an AOT error message.
authorZoltan Varga <vargaz@gmail.com>
Thu, 27 Jan 2011 10:49:27 +0000 (11:49 +0100)
committerZoltan Varga <vargaz@gmail.com>
Thu, 27 Jan 2011 10:49:27 +0000 (11:49 +0100)
mono/mini/aot-runtime.c

index 207bfc7557b06e22884529bfc97c8a02c4c191ab..2cf3021236984ee7521f929bee6c6ad36df0a5c9 100644 (file)
@@ -211,7 +211,7 @@ load_image (MonoAotModule *amodule, int index, gboolean set_error)
        }
 
        if (strcmp (assembly->image->guid, amodule->image_guids [index])) {
-               mono_trace (G_LOG_LEVEL_INFO, MONO_TRACE_AOT, "AOT module %s is out of date (Older than dependency %s).\n", amodule->aot_name, amodule->image_names [index].name);
+               mono_trace (G_LOG_LEVEL_INFO, MONO_TRACE_AOT, "AOT module %s is unusable (GUID of dependent assembly %s doesn't match (expected '%s', got '%s').\n", amodule->aot_name, amodule->image_names [index].name, amodule->image_guids [index], assembly->image->guid);
                amodule->out_of_date = TRUE;
                return NULL;
        }