[llvm] [CodeGen][ARM] Bug fix InsertStackProtectors with EH_SJ_LJ (PR #147411)
Abhay Kanhere via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 17 09:38:32 PDT 2025
================
@@ -588,14 +588,22 @@ bool InsertStackProtectors(const TargetMachine *TM, Function *F,
continue;
Instruction *CheckLoc = dyn_cast<ReturnInst>(BB.getTerminator());
if (!CheckLoc && !DisableCheckNoReturn)
- for (auto &Inst : BB)
+ for (auto &Inst : BB) {
+ if(auto *IB = dyn_cast<IntrinsicInst>(&Inst) )
----------------
AbhayKanhere wrote:
ok. I took the diff and applied patch -p0 -- format did not complain this time. let me try what you suggest. thanks!
https://github.com/llvm/llvm-project/pull/147411
More information about the llvm-commits
mailing list