Page MenuHomePhabricator

[AArch64][Outliner] Don't outline BTI instructions
ClosedPublic

Authored by olista01 on Feb 5 2019, 7:27 AM.

Details

Summary

We can't outline BTI instructions, because they need to be the very first instruction executed after an indirect call or branch. If we outline them, then an indirect call might go to the branch to the outlined function, which will fault.

Diff Detail

Repository
rL LLVM

Event Timeline

olista01 created this revision.Feb 5 2019, 7:27 AM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 5 2019, 7:27 AM
LukeCheeseman accepted this revision.Feb 5 2019, 8:55 AM
This revision is now accepted and ready to land.Feb 5 2019, 8:55 AM
This revision was automatically updated to reflect the committed changes.