aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineBlockPlacement.cpp
diff options
context:
space:
mode:
authorAkira Hatanaka <ahatanak@gmail.com>2024-07-24 02:04:37 -0700
committerGitHub <noreply@github.com>2024-07-24 02:04:37 -0700
commit666e3326fedfb6a033494c36c36aa95c4124d642 (patch)
tree4d9508e3feee150710270c8c167ae550d43a5f90 /llvm/lib/CodeGen/MachineBlockPlacement.cpp
parenteff6250494b4bc7feb0199912245e5bacad6f984 (diff)
downloadllvm-666e3326fedfb6a033494c36c36aa95c4124d642.zip
llvm-666e3326fedfb6a033494c36c36aa95c4124d642.tar.gz
llvm-666e3326fedfb6a033494c36c36aa95c4124d642.tar.bz2
[PAC] Define __builtin_ptrauth_type_discriminator (#100204)
The builtin computes the discriminator for a type, which can be used to sign/authenticate function pointers and member function pointers. If the type passed to the builtin is a C++ member function pointer type, the result is the discriminator used to signed member function pointers of that type. If the type is a function, function pointer, or function reference type, the result is the discriminator used to sign functions of that type. It is ill-formed to use this builtin with any other type. A call to this function is an integer constant expression. Co-Authored-By: John McCall rjmccall@apple.com
Diffstat (limited to 'llvm/lib/CodeGen/MachineBlockPlacement.cpp')
0 files changed, 0 insertions, 0 deletions