[llvm] [Verifier] Check function attributes related to branch protection (NFC) (PR #70565)
Momchil Velikov via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 30 02:35:31 PDT 2023
================
@@ -2231,6 +2231,27 @@ void Verifier::verifyFunctionAttrs(FunctionType *FT, AttributeList Attrs,
checkUnsignedBaseTenFuncAttr(Attrs, "patchable-function-prefix", V);
checkUnsignedBaseTenFuncAttr(Attrs, "patchable-function-entry", V);
checkUnsignedBaseTenFuncAttr(Attrs, "warn-stack-size", V);
+
+ if (Attrs.hasFnAttr("sign-return-adress")) {
----------------
momchil-velikov wrote:
Fixed
https://github.com/llvm/llvm-project/pull/70565
More information about the llvm-commits
mailing list