[all-commits] [llvm/llvm-project] ce51ca: [PtrAuth] Use default attributes for some ptrauth ...

Nikita Popov via All-commits all-commits at lists.llvm.org
Fri Dec 9 01:41:45 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ce51cae7947e9e30320ac02e48ea954152309f6d
      https://github.com/llvm/llvm-project/commit/ce51cae7947e9e30320ac02e48ea954152309f6d
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2022-12-09 (Fri, 09 Dec 2022)

  Changed paths:
    M llvm/include/llvm/IR/Intrinsics.td
    M llvm/lib/Transforms/Utils/Local.cpp

  Log Message:
  -----------
  [PtrAuth] Use default attributes for some ptrauth intrinsics

This uses the default intrinsic attributes (nofree, nosync,
nocallback, willreturn) for a subset of the ptrauth intrinsics.
Notably, this does not use them for auth and resign, because these
intrinsics are specified to trap and as such are not willreturn.
As far as I understood, the remaining intrinsics may not trap
(or can only trap in cases where behavior is undefined).

Differential Revision: https://reviews.llvm.org/D137557




More information about the All-commits mailing list