[llvm] [AArch64][BTI] Add BTI at EH entries. (PR #155308)
David Green via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 26 00:01:05 PDT 2025
================
@@ -100,9 +99,15 @@ bool AArch64BranchTargets::runOnMachineFunction(MachineFunction &MF) {
// If the block itself is address-taken, it could be indirectly branched
// to, but not called.
if (MBB.isMachineBlockAddressTaken() || MBB.isIRBlockAddressTaken() ||
- JumpTableTargets.count(&MBB))
+ JumpTableTargets.count(&MBB) || MBB.isEHPad())
----------------
davemgreen wrote:
This MBB.isEHPad() no longer does anything.
https://github.com/llvm/llvm-project/pull/155308
More information about the llvm-commits
mailing list