llvm-project
llvm-project copied to clipboard
[lldb] Upstream expression support for arm64e signed pointers.
Pointers cannot be signed out-of-process (which the current JIT linker architecture requires), so this patch adds an IR transform which eliminates all signed pointers in the expression replaces them with raw pointers and a call to a runtime pointer signing function that is executed before the rest of the expression code is run.
This depends on clang::CompilerInvocation::setDefaultPointerAuthOptions which isn't currently upstream.
CC @ahmedbougacha
@swift-ci please test