[clang] [clang][ARM] disable frame pointers by default for bare metal ARM targets (PR #117140)

Ties Stuij via cfe-commits cfe-commits at lists.llvm.org
Thu Nov 21 08:38:05 PST 2024


================
@@ -151,6 +152,10 @@ static bool useFramePointerForTargetByDefault(const llvm::opt::ArgList &Args,
     }
   }
 
+  if (toolchains::isARMBareMetal(Triple)) {
+    return false;
+  }
----------------
stuij wrote:

done!

https://github.com/llvm/llvm-project/pull/117140


More information about the cfe-commits mailing list