Skip to content

Commit

Permalink
[mono] Avoid printing out LLVM failed messages when verbosity level i…
Browse files Browse the repository at this point in the history
…s 0. (#54885)
  • Loading branch information
vargaz committed Jun 29, 2021
1 parent 086f6ec commit f3bad4f
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 @@ -3327,7 +3327,7 @@ mini_method_compile (MonoMethod *method, guint32 opts, JitFlags flags, int parts
if (COMPILE_LLVM (cfg)) {
mono_llvm_check_method_supported (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 f3bad4f

Please sign in to comment.