From 41e6601c5f9458fa8c5dea25ee78cbf121aa322f Mon Sep 17 00:00:00 2001 From: Zoltan Varga Date: Fri, 2 Jul 2021 09:41:38 -0400 Subject: [PATCH] [mono][llvm] Only emit 'LLVM failed' messages on verbosity > 0. (#55060) --- src/mono/mono/mini/mini.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mono/mono/mini/mini.c b/src/mono/mono/mini/mini.c index 11141bc79d4ef..7d24fe6374b6c 100644 --- a/src/mono/mono/mini/mini.c +++ b/src/mono/mono/mini/mini.c @@ -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);