[all-commits] [llvm/llvm-project] ccd8d0: [clang] Wire -fptrauth-returns to "ptrauth-returns...
Ahmed Bougacha via All-commits
all-commits at lists.llvm.org
Sat Aug 10 03:18:44 PDT 2024
Branch: refs/heads/release/19.x
Home: https://github.com/llvm/llvm-project
Commit: ccd8d0497a92c50e52933cd5d712a32a192ba6aa
https://github.com/llvm/llvm-project/commit/ccd8d0497a92c50e52933cd5d712a32a192ba6aa
Author: Ahmed Bougacha <ahmed at bougacha.org>
Date: 2024-08-10 (Sat, 10 Aug 2024)
Changed paths:
M clang/include/clang/Basic/PointerAuthOptions.h
M clang/lib/CodeGen/CodeGenFunction.cpp
M clang/lib/Frontend/CompilerInvocation.cpp
M clang/lib/Headers/ptrauth.h
M clang/test/CodeGen/ptrauth-function-attributes.c
Log Message:
-----------
[clang] Wire -fptrauth-returns to "ptrauth-returns" fn attribute. (#102416)
We already ended up with -fptrauth-returns, the feature macro, the lang
opt, and the actual backend lowering.
The only part left is threading it all through PointerAuthOptions, to
drive the addition of the "ptrauth-returns" attribute to generated
functions.
While there, do minor cleanup on ptrauth-function-attributes.c.
This also adds ptrauth_key_return_address to ptrauth.h.
(cherry picked from commit 2eb6e30fe83ccce3cf01e596e73fa6385facd44b)
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