[PATCH] D85649: [AArch64] PAC/BTI code generation for LLVM generated functions
Momchil Velikov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 1 04:47:22 PDT 2020
chill planned changes to this revision.
chill added a comment.
In addition to the disabling of BTI in D81251 <https://reviews.llvm.org/D81251>, there's an issue that we explicitly disable BTI via `branch-protection=none`, the attribute would just be missing and we'll pick up the module attributes, which is not what we want.
IMHO the right way to handle this is to add a boolean value to `branch-target-enforcement`: if the attribute is absent default to module flags, if it's present - do as the attribute value says.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D85649/new/
https://reviews.llvm.org/D85649
More information about the llvm-commits
mailing list