================ @@ -151,6 +152,9 @@ static bool useFramePointerForTargetByDefault(const llvm::opt::ArgList &Args, } } + if (toolchains::isARMBareMetal(Triple)) ---------------- stuij wrote: done! https://github.com/llvm/llvm-project/pull/117140