[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
Tue Nov 26 07:32:29 PST 2024


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

Perhaps renaming `isARMBareMetal` to `isEABIBareMetal` would make things clearer?

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


More information about the cfe-commits mailing list