[mono] Replace -disable-fp-elim with -frame-pointer=all (#58195)
authorgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Fri, 27 Aug 2021 18:20:38 +0000 (11:20 -0700)
committerGitHub <noreply@github.com>
Fri, 27 Aug 2021 18:20:38 +0000 (11:20 -0700)
commit262b509bc01138519c08b06ee711000846036132
treef4dda27f2631a2cc8a09d67fa3a8fc5ee8562a2a
parent8da82f23adea445dd9d75a0ee5575fdae3cd8b8d
[mono] Replace -disable-fp-elim with -frame-pointer=all (#58195)

`-disable-fp-elim` was removed in LLVM 8 in commit b7cef81fd36c85e52b115b9ed6d1fb92d63781d6.
Also see https://reviews.llvm.org/D56351.

The replacement option, `-frame-pointer`, is still present in LLVM 11.

Fixes https://github.com/dotnet/runtime/issues/58112.

Co-authored-by: Imran Hameed <imhameed@microsoft.com>
src/mono/mono/mini/aot-compiler.c