projects
/
mono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e98342b
)
[aot] Print out more info when a method cannot be AOTed.
author
Zoltan Varga
<vargaz@gmail.com>
Wed, 15 Mar 2017 22:33:25 +0000
(18:33 -0400)
committer
Zoltan Varga
<vargaz@gmail.com>
Wed, 15 Mar 2017 22:33:32 +0000
(18:33 -0400)
mono/mini/aot-compiler.c
patch
|
blob
|
history
diff --git
a/mono/mini/aot-compiler.c
b/mono/mini/aot-compiler.c
index 22dc64f95197ac60691c4a89eac17f793438fc2f..59a123ed0573475ceb7e0551c9ee6c1b7171bbfb 100644
(file)
--- a/
mono/mini/aot-compiler.c
+++ b/
mono/mini/aot-compiler.c
@@
-7597,8
+7597,11
@@
compile_method (MonoAotCompile *acfg, MonoMethod *method)
return;
}
if (cfg->exception_type != MONO_EXCEPTION_NONE) {
- if (acfg->aot_opts.print_skipped_methods)
+ if (acfg->aot_opts.print_skipped_methods)
{
printf ("Skip (JIT failure): %s\n", mono_method_get_full_name (method));
+ if (cfg->exception_message)
+ printf ("Caused by: %s\n", cfg->exception_message);
+ }
/* Let the exception happen at runtime */
return;
}