[all-commits] [llvm/llvm-project] 2eb6e3: [clang] Wire -fptrauth-returns to "ptrauth-returns...

Ahmed Bougacha via All-commits all-commits at lists.llvm.org
Fri Aug 9 11:50:11 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2eb6e30fe83ccce3cf01e596e73fa6385facd44b
      https://github.com/llvm/llvm-project/commit/2eb6e30fe83ccce3cf01e596e73fa6385facd44b
  Author: Ahmed Bougacha <ahmed at bougacha.org>
  Date:   2024-08-09 (Fri, 09 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.



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