[PATCH] D85649: [AArch64] PAC/BTI code generation for LLVM generated functions

Daniel Kiss via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Aug 29 05:38:45 PDT 2020


danielkiss added inline comments.


================
Comment at: llvm/lib/Target/AArch64/AArch64MachineFunctionInfo.h:151-153
+  /// BranchTargetEnforcement enables placing BTI instructions at potential
+  /// indirect branch destinations.
+  bool BranchTargetEnforcement;
----------------
A way is needed to turn it to false even, when to the rule below turns it on. see D81251.
A setter function would be fine I think. If you agree I can add it when rebasing the D81251.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D85649/new/

https://reviews.llvm.org/D85649



More information about the llvm-commits mailing list