[PATCH] D112941: [clang] Add support for the new pointer authentication builtins.

Ahmed Bougacha via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Sep 11 09:41:31 PDT 2023


ab updated this revision to Diff 556443.
ab added a comment.
Herald added subscribers: llvm-commits, wangpc, MaskRay.
Herald added projects: LLVM, All.

Added the relevant bits of the great documentation John wrote in clang/docs/PointerAuthentication.rst.  I tried to trim it down to only the general principles and the intrinsics;  some of the discussion around the security model is a little ahead of the rest of the changes, but is still seems fine with these initial changes.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D112941/new/

https://reviews.llvm.org/D112941

Files:
  clang/docs/LanguageExtensions.rst
  clang/docs/PointerAuthentication.rst
  clang/include/clang/Basic/Builtins.def
  clang/include/clang/Basic/DiagnosticGroups.td
  clang/include/clang/Basic/DiagnosticSemaKinds.td
  clang/include/clang/Basic/Features.def
  clang/include/clang/Basic/LangOptions.def
  clang/include/clang/Basic/TargetInfo.h
  clang/include/clang/Driver/Options.td
  clang/include/clang/Sema/Sema.h
  clang/lib/Basic/Module.cpp
  clang/lib/Basic/TargetInfo.cpp
  clang/lib/Basic/Targets/AArch64.cpp
  clang/lib/Basic/Targets/AArch64.h
  clang/lib/CodeGen/CGBuiltin.cpp
  clang/lib/Driver/ToolChains/Clang.cpp
  clang/lib/Driver/ToolChains/Darwin.cpp
  clang/lib/Driver/ToolChains/Darwin.h
  clang/lib/Frontend/CompilerInvocation.cpp
  clang/lib/Headers/CMakeLists.txt
  clang/lib/Headers/module.modulemap
  clang/lib/Headers/ptrauth.h
  clang/lib/Sema/SemaChecking.cpp
  clang/test/CodeGen/ptrauth-intrinsics.c
  clang/test/Driver/arch-arm64e.c
  clang/test/Modules/Inputs/ptrauth-include-from-darwin/module.modulemap
  clang/test/Modules/Inputs/ptrauth-include-from-darwin/ptrauth.h
  clang/test/Modules/Inputs/ptrauth-include-from-darwin/stddef.h
  clang/test/Modules/ptrauth-include-from-darwin.m
  clang/test/Preprocessor/ptrauth_feature.c
  clang/test/Sema/ptrauth-intrinsics-macro.c
  clang/test/Sema/ptrauth.c
  llvm/docs/PointerAuth.md

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D112941.556443.patch
Type: text/x-patch
Size: 97292 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230911/f6a73986/attachment-0001.bin>


More information about the cfe-commits mailing list