ANDROID: arm64: disable BTI with CFI for Clang <12
Older versions of Clang didn't generate BTI instructions for the compiler-generated CFI check functions. As CFI provides a more fine-grained control-flow checking then BTI, disable BTI when CFI is enabled and we're using Clang <12. Bug: 145210207 Change-Id: I248bc761443e4f354cf4dfbfc3db0fc22385ce63 Link: https://bugs.llvm.org/show_bug.cgi?id=46258 Signed-off-by:Sami Tolvanen <samitolvanen@google.com>
Loading
Please sign in to comment