[PATCH] D76900: Enable IBT(Indirect Branch Tracking) in JIT with CET(Control-flow Enforcement Technology)

Xiang Zhang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 30 19:41:18 PDT 2020


xiangzhangllvm added a comment.

In D76900#1951500 <https://reviews.llvm.org/D76900#1951500>, @efriedma wrote:

> Yes, please add that as a test.
>
> The current patch works, but it's emitting endbrs for small code model examples where they shouldn't be necessary.  Maybe someone else can chime in on how important that is in practice.


OK, It is really hard to check if a internal function will be indirectly accessed or not, here we can first "sync" with GCC.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D76900/new/

https://reviews.llvm.org/D76900





More information about the llvm-commits mailing list