[llvm] [BOLT][BTI] Add MCPlusBuilder::createBTI (PR #167305)

Gergely Bálint via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 20 00:46:59 PST 2025


================
@@ -1865,6 +1865,11 @@ class MCPlusBuilder {
     llvm_unreachable("not implemented");
   }
 
+  /// Create a BTI landing pad instruction.
+  virtual void createBTI(MCInst &Inst, bool CouldCall, bool CouldJump) const {
----------------
bgergely0 wrote:

Agreed. 
I copied the naming from `llvm/lib/Target/AArch64/AArch64BranchTargets.cpp`, but will change to a more clear version.

https://github.com/llvm/llvm-project/pull/167305


More information about the llvm-commits mailing list