[clang] [llvm] [Clang][ARM][AArch64] Alway emit protection attributes for functions. (PR #82819)
Tomas Matheson via cfe-commits
cfe-commits at lists.llvm.org
Mon Apr 22 04:32:26 PDT 2024
================
@@ -5,13 +5,18 @@
// RUN: %clang -target arm-arm-none-eabi -march=armv8.1-m.main -S -emit-llvm -o - -mbranch-protection=pac-ret+b-key %s | FileCheck %s --check-prefix=CHECK --check-prefix=PART
// RUN: %clang -target arm-arm-none-eabi -march=armv8.1-m.main -S -emit-llvm -o - -mbranch-protection=bti %s | FileCheck %s --check-prefix=CHECK --check-prefix=BTE
-// Check there are no branch protection function attributes
+// Check there is branch protection function attributes
----------------
tmatheson-arm wrote:
```suggestion
// Check there are branch protection function attributes
```
https://github.com/llvm/llvm-project/pull/82819
More information about the cfe-commits
mailing list