llvm-project
4fd75210 - [BOLT][BTI] Add MCPlusBuilder::addBTItoBBStart

Commit
12 hours ago
[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.
Author
Committer
Parents
Loading