From 23789fd1467bd3149fe40de95cee237b75cc1e3b Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 15 Sep 2021 15:23:31 +0200 Subject: [PATCH] [release/6.0] [mono] Update attribute name used for controlling frame pointer elimination (#59091) Co-authored-by: Imran Hameed --- src/mono/mono/mini/mini-llvm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mono/mono/mini/mini-llvm.c b/src/mono/mono/mini/mini-llvm.c index 6717489..65fe34e 100644 --- a/src/mono/mono/mini/mini-llvm.c +++ b/src/mono/mono/mini/mini-llvm.c @@ -11483,7 +11483,7 @@ emit_method_inner (EmitContext *ctx) mono_llvm_add_func_attr (method, LLVM_ATTR_UW_TABLE); if (cfg->disable_omit_fp) - mono_llvm_add_func_attr_nv (method, "no-frame-pointer-elim", "true"); + mono_llvm_add_func_attr_nv (method, "frame-pointer", "all"); if (cfg->compile_aot) { if (mono_aot_is_externally_callable (cfg->method)) { -- 2.7.4