[all-commits] [llvm/llvm-project] 5e4063: [BOLT][BTI] Add MCPlusBuilder::addBTItoBBStart
Gergely Bálint via All-commits
all-commits at lists.llvm.org
Fri Dec 5 04:31:13 PST 2025
Branch: refs/heads/users/bgergely0/bolt-add-bti-to-bb
Home: https://github.com/llvm/llvm-project
Commit: 5e40637d178f9f8d003ae02ab0fba2800aa8dbf6
https://github.com/llvm/llvm-project/commit/5e40637d178f9f8d003ae02ab0fba2800aa8dbf6
Author: Gergely Balint <gergely.balint at arm.com>
Date: 2025-12-04 (Thu, 04 Dec 2025)
Changed paths:
M bolt/include/bolt/Core/MCPlusBuilder.h
M bolt/lib/Target/AArch64/AArch64MCPlusBuilder.cpp
M bolt/unittests/Core/MCPlusBuilder.cpp
Log Message:
-----------
[BOLT][BTI] Add MCPlusBuilder::addBTItoBBStart
This function contains most of the logic for BTI:
- it takes the BasicBlock and the instruction used to jump to it.
- then it checks if the first non-pseudo instruction is a sufficient
landing pad for the used call.
- if not, it generates the correct BTI instruction.
Also introduce the isBTIVariantCoveringCall helper to simplify the logic.
Commit: bb5e556c6d61464813261e195e5d599da8bfb310
https://github.com/llvm/llvm-project/commit/bb5e556c6d61464813261e195e5d599da8bfb310
Author: Gergely Balint <gergely.balint at arm.com>
Date: 2025-12-05 (Fri, 05 Dec 2025)
Changed paths:
M bolt/include/bolt/Core/MCPlusBuilder.h
M bolt/lib/Target/AArch64/AArch64MCPlusBuilder.cpp
M bolt/unittests/Core/MCPlusBuilder.cpp
Log Message:
-----------
[BOLT][BTI] rename addBTItoBBStart to insertBTI
Compare: https://github.com/llvm/llvm-project/compare/103728d47762...bb5e556c6d61
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list