[all-commits] [llvm/llvm-project] dfea6d: [clang][Obj-C][PAC] Add support for authenticating...
Oliver Hunt via All-commits
all-commits at lists.llvm.org
Thu Aug 14 18:41:57 PDT 2025
Branch: refs/heads/users/ojhunt/ptrauth-block-abi-llvm21
Home: https://github.com/llvm/llvm-project
Commit: dfea6d53d2e4556d15846c61fd3c9dfb8d21b6f2
https://github.com/llvm/llvm-project/commit/dfea6d53d2e4556d15846c61fd3c9dfb8d21b6f2
Author: Oliver Hunt <oliver at apple.com>
Date: 2025-08-14 (Thu, 14 Aug 2025)
Changed paths:
M clang/include/clang/Basic/Features.def
M clang/include/clang/Basic/PointerAuthOptions.h
M clang/lib/CodeGen/Address.h
M clang/lib/CodeGen/CGBlocks.cpp
M clang/lib/Driver/ToolChains/Clang.cpp
M clang/lib/Frontend/CompilerInvocation.cpp
M clang/test/CodeGen/ptrauth-qualifier-blocks.c
A clang/test/CodeGenObjC/ptrauth-block-descriptor-pointer.m
M clang/test/CodeGenObjC/ptrauth-block-isa.m
Log Message:
-----------
[clang][Obj-C][PAC] Add support for authenticating block metadata (#152978)
Introduces the use of pointer authentication to protect the invocation,
copy and dispose, reference, and descriptor pointers in Objective-C
block objects.
Resolves #141176
Commit: 716ab0312f5ebfdc245f80c510331f399f2f5390
https://github.com/llvm/llvm-project/commit/716ab0312f5ebfdc245f80c510331f399f2f5390
Author: Oliver Hunt <oliver at apple.com>
Date: 2025-08-14 (Thu, 14 Aug 2025)
Changed paths:
M clang/include/clang/Basic/Features.def
M clang/include/clang/Basic/LangOptions.def
M clang/include/clang/Driver/Options.td
M clang/lib/Frontend/CompilerInvocation.cpp
M clang/test/CodeGenObjC/ptrauth-block-descriptor-pointer.m
M clang/test/CodeGenObjC/ptrauth-block-isa.m
Log Message:
-----------
[clang][Obj-C][PAC] Make block descriptor pointer signing configurable (#153700)
Pointer auth protection of the block descriptor pointer is only
supported in some constrained environments so we do actually need it to
be configurable.
We had made it non configurable in the first PR to protect block
metadata because we believed that was an option but subsequently
realised it does need to remain configurable.
This PR revives the flags that permit this.
Compare: https://github.com/llvm/llvm-project/compare/dfea6d53d2e4%5E...716ab0312f5e
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