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

Jon Roelofs via cfe-commits cfe-commits at lists.llvm.org
Thu Nov 28 11:34:52 PST 2024


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

good idea re: `isArmEABIBareMetal`

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


More information about the cfe-commits mailing list