[all-commits] [llvm/llvm-project] 07f8a6: [clang] Ensure pointers passed to runtime support ...
Oliver Hunt via All-commits
all-commits at lists.llvm.org
Wed Jul 17 15:23:15 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 07f8a65d09608d67bfd6adbd62bb0999c7363456
https://github.com/llvm/llvm-project/commit/07f8a65d09608d67bfd6adbd62bb0999c7363456
Author: Oliver Hunt <oliver at apple.com>
Date: 2024-07-17 (Wed, 17 Jul 2024)
Changed paths:
M clang/lib/CodeGen/CGDeclCXX.cpp
M clang/lib/CodeGen/CodeGenFunction.h
M clang/lib/CodeGen/ItaniumCXXABI.cpp
A clang/test/CodeGenCXX/ptrauth-static-destructors.cpp
A clang/test/CodeGenCXX/ptrauth-throw.cpp
Log Message:
-----------
[clang] Ensure pointers passed to runtime support functions are correctly signed (#98276)
Updates codegen for global destructors and raising exceptions to ensure
that the function pointers being passed are signed using the correct
schema.
Notably this requires that CodeGenFunction::createAtExitStub to return
an opaque Constant* rather than a Function* as the value being emitted
is no longer necessarily a raw function pointer depending on the
configured ABI.
Co-Authored-By: Akira Hatanaka <ahatanaka at apple.com>
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