================
@@ -12007,6 +12011,49 @@ static void genTPLoopBody(MachineBasicBlock 
*TpLoopBody,
       .add(predOps(ARMCC::AL));
 }
 
+bool ARMTargetLowering::supportKCFIBundles() const {
+  // KCFI is only supported in ARM mode, not Thumb mode
+  return !Subtarget->isThumb();
----------------
samitolvanen wrote:

I believe it would require KCFI_CHECK lowering for Thumb, and you'll need make 
sure you clear the LSB from the function address when calculating the hash 
location, because ARM uses that to select between ARM/Thumb mode for the callee.

https://github.com/llvm/llvm-project/pull/163698
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to