[PATCH] D75181: [AArch64] Handle BTI/PAC in case of generated functions.
Daniel Kiss via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 2 07:01:25 PDT 2020
danielkiss marked an inline comment as done.
danielkiss added inline comments.
================
Comment at: clang/lib/CodeGen/TargetInfo.cpp:5149-5152
+ if (BPI.BranchTargetEnforcement)
+ Fn->addFnAttr("branch-target-enforcement", "true");
+ else
+ Fn->addFnAttr("branch-target-enforcement", "false");
----------------
I'm going to rebase the patch. I add there a new attribute here "ignore-branch-target-enforcement"
so then the "branch-target-enforcement"="true"/"false" could be just "branch-target-enforcement".
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D75181/new/
https://reviews.llvm.org/D75181
More information about the llvm-commits
mailing list