[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's probably worth to also have tests without `-fptrauth-function-pointer-type-discrimination` to ensure that some or resigns go away when equal zero discrimination is used for non-ptrauth-qualified function pointers.

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


More information about the cfe-commits mailing list