[clang] [PAC] Add support for __ptrauth type qualifier (PR #100830)

Daniil Kovalev via cfe-commits cfe-commits at lists.llvm.org
Sun Aug 4 22:57:36 PDT 2024


================
@@ -0,0 +1,132 @@
+// RUN: %clang_cc1 %s       -fptrauth-function-pointer-type-discrimination -triple arm64e-apple-ios13 -fptrauth-calls -fptrauth-intrinsics -disable-llvm-passes -emit-llvm -o- | FileCheck %s
----------------
kovdan01 wrote:

Nit: it looks like you can use arm64-apple-ios13 triple instead of arm64e-apple-ios13. You anyway enable desired options manually. In other tests, just arm64 is used, so it's probably better to keep things consistent here.

```suggestion
// RUN: %clang_cc1 %s       -fptrauth-function-pointer-type-discrimination -triple arm64-apple-ios13 -fptrauth-calls -fptrauth-intrinsics -disable-llvm-passes -emit-llvm -o- | FileCheck %s
```

https://github.com/llvm/llvm-project/pull/100830


More information about the cfe-commits mailing list