[llvm] [BOLT][BTI] Refactor: move applyBTIFixup under MCPlusBuilder (PR #177164)

Paschalis Mpeis via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 5 06:31:15 PST 2026


================
@@ -114,6 +114,9 @@ Error PatchEntries::runOnFunctions(BinaryContext &BC) {
       BinaryFunction *PatchFunction = BC.createInstructionPatch(
           Patch.Address, Instructions,
           NameResolver::append(Patch.Symbol->getName(), ".org.0"));
+      if (BC.usesBTI())
----------------
paschalis-mpeis wrote:

Similarly here to `createLongTailCall` ?

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


More information about the llvm-commits mailing list