From: EgorBo Date: Wed, 11 Sep 2019 22:01:39 +0000 (+0300) Subject: use full name for llvm ir and asm dumps X-Git-Tag: submit/tizen/20210909.063632~10331^2~5^2~524 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3169a8f8216b52dbc1285e9a54b03d3bad4dd340;p=platform%2Fupstream%2Fdotnet%2Fruntime.git use full name for llvm ir and asm dumps Commit migrated from https://github.com/mono/mono/commit/313ce184be497a259f9ebfd40bf1f14a8cc35794 --- diff --git a/src/mono/mono/mini/mini-llvm.c b/src/mono/mono/mini/mini-llvm.c index 890a069..089d7d6 100644 --- a/src/mono/mono/mini/mini-llvm.c +++ b/src/mono/mono/mini/mini-llvm.c @@ -8455,7 +8455,7 @@ after_codegen: } if (cfg->verbose_level > 1) { - g_print ("\n*** Unoptimized LLVM IR for %s ***\n", mono_method_full_name (cfg->method, FALSE)); + g_print ("\n*** Unoptimized LLVM IR for %s ***\n", mono_method_full_name (cfg->method, TRUE)); mono_llvm_dump_value (method); g_print ("***\n\n"); } @@ -10571,7 +10571,7 @@ llvm_jit_finalize_method (EmitContext *ctx) cfg->native_code = (guint8*)mono_llvm_compile_method (ctx->module->mono_ee, ctx->lmethod, nvars, callee_vars, callee_addrs, &eh_frame); if (cfg->verbose_level > 1) { - g_print ("\n*** Optimized LLVM IR for %s ***\n", mono_method_full_name (cfg->method, FALSE)); + g_print ("\n*** Optimized LLVM IR for %s ***\n", mono_method_full_name (cfg->method, TRUE)); mono_llvm_dump_value (ctx->lmethod); g_print ("***\n\n"); } diff --git a/src/mono/mono/mini/mini.c b/src/mono/mono/mini/mini.c index a0042ab..e42f7e2 100644 --- a/src/mono/mono/mini/mini.c +++ b/src/mono/mono/mini/mini.c @@ -3871,7 +3871,7 @@ mini_method_compile (MonoMethod *method, guint32 opts, MonoDomain *domain, JitFl } if (cfg->verbose_level >= 2) { - char *id = mono_method_full_name (cfg->method, FALSE); + char *id = mono_method_full_name (cfg->method, TRUE); g_print ("\n*** ASM for %s ***\n", id); mono_disassemble_code (cfg, cfg->native_code, cfg->code_len, id + 3); g_print ("***\n\n");