[all-commits] [llvm/llvm-project] 016bae: [clang] Implement function pointer signing.
Ahmed Bougacha via All-commits
all-commits at lists.llvm.org
Fri Jun 21 10:45:10 PDT 2024
Branch: refs/heads/users/ahmedbougacha/ptrauth-function-pointers
Home: https://github.com/llvm/llvm-project
Commit: 016baec5833f0fba4280e67ba24caed48e8a1017
https://github.com/llvm/llvm-project/commit/016baec5833f0fba4280e67ba24caed48e8a1017
Author: Akira Hatanaka <ahatanak at gmail.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M clang/include/clang/Basic/CodeGenOptions.h
M clang/include/clang/Basic/DiagnosticDriverKinds.td
M clang/include/clang/Basic/LangOptions.h
M clang/include/clang/Basic/PointerAuthOptions.h
M clang/include/clang/Frontend/CompilerInvocation.h
M clang/lib/CodeGen/CGBuiltin.cpp
M clang/lib/CodeGen/CGCall.cpp
M clang/lib/CodeGen/CGCall.h
M clang/lib/CodeGen/CGExpr.cpp
M clang/lib/CodeGen/CGExprConstant.cpp
M clang/lib/CodeGen/CGPointerAuth.cpp
A clang/lib/CodeGen/CGPointerAuthInfo.h
M clang/lib/CodeGen/CodeGenFunction.cpp
M clang/lib/CodeGen/CodeGenFunction.h
M clang/lib/CodeGen/CodeGenModule.h
M clang/lib/Frontend/CompilerInvocation.cpp
M clang/lib/Headers/ptrauth.h
A clang/test/CodeGen/ptrauth-function-attributes.c
A clang/test/CodeGen/ptrauth-function-init-fail.c
A clang/test/CodeGen/ptrauth-function-init.c
A clang/test/CodeGen/ptrauth-function-lvalue-cast.c
A clang/test/CodeGen/ptrauth-weak_import.c
A clang/test/CodeGenCXX/ptrauth.cpp
Log Message:
-----------
[clang] Implement function pointer signing.
Co-Authored-By: John McCall <rjmccall at apple.com>
Commit: 4cebec2cbad09e40ed0e6dace342d5975e88dc4e
https://github.com/llvm/llvm-project/commit/4cebec2cbad09e40ed0e6dace342d5975e88dc4e
Author: Akira Hatanaka <ahatanak at gmail.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M clang/lib/CodeGen/CodeGenFunction.cpp
M clang/lib/CodeGen/CodeGenFunction.h
A clang/test/CodeGen/ptrauth-function.c
Log Message:
-----------
Remove unused functions and add test case
Commit: 6d578df40e91f14ea1903631bbff10b9f250f675
https://github.com/llvm/llvm-project/commit/6d578df40e91f14ea1903631bbff10b9f250f675
Author: Akira Hatanaka <ahatanak at gmail.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M clang/include/clang/Basic/LangOptions.h
M clang/include/clang/Basic/PointerAuthOptions.h
M clang/lib/CodeGen/CGCall.h
M clang/lib/CodeGen/CGPointerAuth.cpp
M clang/lib/CodeGen/CGPointerAuthInfo.h
M clang/lib/CodeGen/CodeGenFunction.cpp
M clang/lib/CodeGen/CodeGenFunction.h
M clang/lib/CodeGen/CodeGenModule.h
M clang/lib/Frontend/CompilerInvocation.cpp
A clang/test/Driver/ptrauth.c
Log Message:
-----------
Address review comments
- Remove unneeded declarations.
- Fix includes.
- Use `llvm::to_underlying`.
- Fix variable names.
- Fix size and type of bit-fields.
- Add test case for `err_drv_ptrauth_not_supported`.
Commit: 0598b29454f22544ad008c90d182b70a62cd1d52
https://github.com/llvm/llvm-project/commit/0598b29454f22544ad008c90d182b70a62cd1d52
Author: Akira Hatanaka <ahatanak at gmail.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M clang/lib/CodeGen/CGPointerAuthInfo.h
Log Message:
-----------
Declare operator== as a friend function instead of a member function
Commit: cbb9bb03cded02e6efda5bd78dcab92e20ce1356
https://github.com/llvm/llvm-project/commit/cbb9bb03cded02e6efda5bd78dcab92e20ce1356
Author: Akira Hatanaka <ahatanak at gmail.com>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M clang/include/clang/Basic/DiagnosticDriverKinds.td
M clang/include/clang/Basic/PointerAuthOptions.h
M clang/include/clang/Frontend/CompilerInvocation.h
M clang/lib/CodeGen/CGCall.h
M clang/lib/CodeGen/CGPointerAuth.cpp
M clang/lib/CodeGen/CGPointerAuthInfo.h
M clang/lib/CodeGen/CodeGenFunction.cpp
M clang/lib/CodeGen/CodeGenModule.h
M clang/lib/Frontend/CompilerInvocation.cpp
M clang/test/CodeGen/ptrauth-function-attributes.c
M clang/test/CodeGen/ptrauth-function-init-fail.c
M clang/test/CodeGen/ptrauth-function-init.c
M clang/test/CodeGen/ptrauth-function-lvalue-cast.c
M clang/test/CodeGen/ptrauth-function.c
M clang/test/CodeGen/ptrauth-weak_import.c
M clang/test/CodeGenCXX/ptrauth.cpp
R clang/test/Driver/ptrauth.c
Log Message:
-----------
Address review comments
- Remove unused diagnostic.
- Change the size of Key fields to 2 bits.
- Stop passing the default argument to CGCallee's constructor.
- Remove unused functions and variables.
- Add a test for indirect calls.
- Run tests on linux too.
Commit: 99b2bf2e1f70ed6f374a380f91a707c2acd8a318
https://github.com/llvm/llvm-project/commit/99b2bf2e1f70ed6f374a380f91a707c2acd8a318
Author: Ahmed Bougacha <ahmed at bougacha.org>
Date: 2024-06-20 (Thu, 20 Jun 2024)
Changed paths:
M clang/lib/CodeGen/CGExprConstant.cpp
M clang/lib/CodeGen/CGPointerAuth.cpp
M clang/test/CodeGen/ptrauth-weak_import.c
Log Message:
-----------
Adjust test/ConstantInt following rebase.
Compare: https://github.com/llvm/llvm-project/compare/016baec5833f%5E...99b2bf2e1f70
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