[llvm] [CrossDSO CFI] Make sure __cfi_check has BTI attribute. (PR #131224)
Peter Collingbourne via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 21 11:04:47 PDT 2025
================
@@ -94,6 +94,14 @@ void CrossDSOCFI::buildCFICheck(Module &M) {
Triple T(M.getTargetTriple());
if (T.isARM() || T.isThumb())
F->addFnAttr("target-features", "+thumb-mode");
+ if (T.isAArch64()) {
----------------
pcc wrote:
Let me send my patch for review.
https://github.com/llvm/llvm-project/pull/131224
More information about the llvm-commits
mailing list