[PATCH] D80791: [AArch64] Generate .note.gnu.property based on module flags.

Kees Cook via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 29 12:28:57 PDT 2020


kees added a comment.

In D80791#2120503 <https://reviews.llvm.org/D80791#2120503>, @nickdesaulniers wrote:

> Might someone wish to disable PAC/BTI on an individual function, while having it on for the rest?  I guess that would mean you can't call that function indirectly?


It would mean you can't call it _at all_, not just indirectly. :) Which is why I still think the warning is useful. Perhaps don't warn for the functions with the attribute?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D80791





More information about the llvm-commits mailing list