diff options
author | Akira Hatanaka <ahatanak@gmail.com> | 2024-07-18 07:51:17 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-18 07:51:17 -0700 |
commit | f6b06b42a3f4f59ff33da20d42358f2768eaf726 (patch) | |
tree | 968ebd4de65706067117ec6657a36e3c83fbb768 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 9711f6bda1363eb3b8850ee67958ab90357db006 (diff) | |
download | llvm-f6b06b42a3f4f59ff33da20d42358f2768eaf726.zip llvm-f6b06b42a3f4f59ff33da20d42358f2768eaf726.tar.gz llvm-f6b06b42a3f4f59ff33da20d42358f2768eaf726.tar.bz2 |
[PAC] Implement function pointer re-signing (#98847)
Re-signing occurs when function type discrimination is enabled and a
function pointer is converted to another function pointer type that
requires signing using a different discriminator. A function pointer is
re-signed using discriminator zero when it's converted to a pointer to a
non-function type such as `void*`.
---------
Co-authored-by: Ahmed Bougacha <ahmed@bougacha.org>
Co-authored-by: John McCall <rjmccall@apple.com>
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions