[PATCH] D152620: [IR] Define llvm.ptrauth wrapper globals

Anatoly Trosinenko via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Jun 10 05:30:05 PDT 2023


atrosinenko created this revision.
atrosinenko added reviewers: kristof.beyls, apazos, pcc, psmith, t.p.northover.
Herald added subscribers: Enna1, ormris, hiraditya.
Herald added a project: All.
atrosinenko published this revision for review.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Define wrapper globals conveying a signing schema for a constant pointer
that can be used in contexts where ptrauth intrinsics are not available.

Co-authored-by: Ahmed Bougacha <ahmed at bougacha.org>


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D152620

Files:
  llvm/docs/PointerAuth.md
  llvm/include/llvm/IR/GlobalPtrAuthInfo.h
  llvm/include/llvm/IR/GlobalValue.h
  llvm/lib/IR/CMakeLists.txt
  llvm/lib/IR/GlobalPtrAuthInfo.cpp
  llvm/lib/IR/Globals.cpp
  llvm/lib/IR/Verifier.cpp
  llvm/lib/Linker/IRMover.cpp
  llvm/lib/Transforms/IPO/ExtractGV.cpp
  llvm/lib/Transforms/IPO/FunctionImport.cpp
  llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp
  llvm/lib/Transforms/Utils/Evaluator.cpp
  llvm/lib/Transforms/Utils/FunctionImportUtils.cpp
  llvm/test/Instrumentation/AddressSanitizer/do-not-instrument-ptrauth-globals.ll
  llvm/test/Transforms/GlobalOpt/evaluate-ptrauth-global.ll
  llvm/test/Transforms/InstSimplify/ptrauth-global-compare.ll
  llvm/test/Verifier/ptrauth-global.ll
  llvm/test/tools/llvm-extract/extract-ptrauth.ll
  llvm/tools/bugpoint/ExtractFunction.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D152620.530198.patch
Type: text/x-patch
Size: 28967 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230610/a95a995d/attachment.bin>


More information about the llvm-commits mailing list