aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Basic/SourceManager.cpp
diff options
context:
space:
mode:
authorLang Hames <lhames@gmail.com>2024-11-21 11:57:15 +1100
committerLang Hames <lhames@gmail.com>2024-11-21 14:59:52 +1100
commita432f11a52dd5ec21a3438bdaa8f623e32a3234c (patch)
treea43e361b4040ab9abfb7678569c090018a1c804f /clang/lib/Basic/SourceManager.cpp
parent4d6e69143dc449814884ac649583d3b35bc4ae91 (diff)
downloadllvm-a432f11a52dd5ec21a3438bdaa8f623e32a3234c.zip
llvm-a432f11a52dd5ec21a3438bdaa8f623e32a3234c.tar.gz
llvm-a432f11a52dd5ec21a3438bdaa8f623e32a3234c.tar.bz2
[JITLink][arm64] Support arm64e JIT'd code (initially enabled for MachO only).
Adds two new JITLink passes to create and populate a pointer-signing function that can be called via an allocation-action attached to the LinkGraph: * createEmptyPointerSigningFunction creates a pointer signing function in a custome section, reserving sufficient space for the signing code. It should be run as a post-prune pass (to ensure that memory is reserved prior to allocation). * lowerPointer64AuthEdgesToSigningFunction pass populates the signing function by walking the graph, decoding the ptrauth info (encoded in the edge addend) and writing an instruction sequence to sign all ptrauth fixup locations. rdar://61956998
Diffstat (limited to 'clang/lib/Basic/SourceManager.cpp')
0 files changed, 0 insertions, 0 deletions