[all-commits] [llvm/llvm-project] 1a23a9: [clang] Define ptrauth_sign_constant builtin.
Ahmed Bougacha via All-commits
all-commits at lists.llvm.org
Thu May 30 17:34:17 PDT 2024
Branch: refs/heads/users/ahmedbougacha/ptrauth-sign-constant
Home: https://github.com/llvm/llvm-project
Commit: 1a23a99f23714ba6a83b354e3b9afd056b263a02
https://github.com/llvm/llvm-project/commit/1a23a99f23714ba6a83b354e3b9afd056b263a02
Author: Ahmed Bougacha <ahmed at bougacha.org>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M clang/include/clang/Basic/Builtins.td
M clang/include/clang/Basic/DiagnosticSemaKinds.td
M clang/include/clang/CodeGen/CodeGenABITypes.h
M clang/lib/AST/ExprConstant.cpp
M clang/lib/CodeGen/CGBuiltin.cpp
M clang/lib/CodeGen/CGExprConstant.cpp
A clang/lib/CodeGen/CGPointerAuth.cpp
M clang/lib/CodeGen/CMakeLists.txt
M clang/lib/CodeGen/CodeGenModule.h
M clang/lib/Headers/ptrauth.h
M clang/lib/Sema/SemaChecking.cpp
A clang/test/CodeGen/ptrauth-intrinsic-sign-constant.c
M clang/test/Sema/ptrauth-intrinsics-macro.c
M clang/test/Sema/ptrauth.c
Log Message:
-----------
[clang] Define ptrauth_sign_constant builtin.
This is constant-expression equivalent to __builtin_ptrauth_sign,
allowing its usage in global initializers, but requiring constant
pointers and discriminators.
Co-Authored-By: John McCall <rjmccall at apple.com>
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list