================ @@ -1434,7 +1434,14 @@ class TargetInfo : public TransferrableTargetInfo, } public: - BranchProtectionInfo() = default; + BranchProtectionInfo() { + SignReturnAddr = LangOptions::SignReturnAddressScopeKind::None; + SignKey = LangOptions::SignReturnAddressKeyKind::AKey; + BranchTargetEnforcement = false; + BranchProtectionPAuthLR = false; + GuardedControlStack = false; + }; ---------------- DanielKristofKiss wrote:
right, added and clang-formated. https://github.com/llvm/llvm-project/pull/98307 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits