================ @@ -166,7 +155,7 @@ static bool useFramePointerForTargetByDefault(const llvm::opt::ArgList &Args, static bool useLeafFramePointerForTargetByDefault(const llvm::Triple &Triple) { if (Triple.isAArch64() || Triple.isPS() || Triple.isVE() || - (Triple.isAndroid() && Triple.isRISCV64())) + (Triple.isAndroid() && !Triple.isARM())) ---------------- lenary wrote:
Did you mean to miss out Thumb? `isARM` is only true for `arm-*`, `armeb-*` triples, you would need an `isThumb` call to also cover `thumb-*` and `thumbeb-*` triples. https://github.com/llvm/llvm-project/pull/97614 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits