[clang] [AArch64][PAC] Support ptrauth builtins and -fptrauth-intrinsics. (PR #65996)
Ahmed Bougacha via cfe-commits
cfe-commits at lists.llvm.org
Tue Sep 12 17:15:15 PDT 2023
================
@@ -303,6 +303,10 @@ bool Module::directlyUses(const Module *Requested) {
if (!Requested->Parent && Requested->Name == "_Builtin_stddef_max_align_t")
return true;
+ // Anyone is allowed to use our builtin ptrauth.h and its accompanying module.
+ if (!Requested->Parent && Requested->Name == "ptrauth")
----------------
ahmedbougacha wrote:
Unfortunately this is needed, to match the (compiler-interface-defining) `ptrauth.h` header file we vend. (specifically this is to allow usage of `ptrauth.h` from `no_undeclared_interfaces` modules, see ed84df008f609.
https://github.com/llvm/llvm-project/pull/65996
More information about the cfe-commits
mailing list