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

Peter Waller via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 24 02:11:37 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 {
----------------
peterwaller-arm wrote:

New variable names look clearer to me. I noticed addBTI still uses the old names and would be good to update at some point, just checking that's on your radar.

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


More information about the llvm-commits mailing list