Skip to content

Commit

Permalink
[mono][llvm] Only emit 'LLVM failed' messages on verbosity > 0. (#55060)
Browse files Browse the repository at this point in the history
  • Loading branch information
vargaz committed Jul 2, 2021
1 parent 4c92aef commit 41e6601
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mono/mono/mini/mini.c
Original file line number Diff line number Diff line change
Expand Up @@ -3880,7 +3880,7 @@ mini_method_compile (MonoMethod *method, guint32 opts, JitFlags flags, int parts
if (!cfg->disable_llvm)
mono_llvm_emit_method (cfg);
if (cfg->disable_llvm) {
if (cfg->verbose_level >= (cfg->llvm_only ? 0 : 1)) {
if (cfg->verbose_level > 0) {
//nm = mono_method_full_name (cfg->method, TRUE);
printf ("LLVM failed for '%s.%s': %s\n", m_class_get_name (method->klass), method->name, cfg->exception_message);
//g_free (nm);
Expand Down

0 comments on commit 41e6601

Please sign in to comment.